[Pomoc]ubacivanje textura u pawno

Započeo purgerrr, Decembar 13, 2014, 11:52:03 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:BF-RP Moja
Detaljan opis problema:Znaci radio sam texture neke i sad dosao je dio kada da ubacim u pawnxo gdje se javljaju problemi vise pogledajte na dio skripte i koje mi errore javljaju
Dio skripte:
public OnGameModeInit()
{
        // Don't use these lines if it's a filterscript
        SetGameModeText("[Balkan Family]");
        SetTimer("minute",1000*60,true); // POTREBNO ZA STATS
        AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
//texture
    SetDynamicObjectMaterial(levu, 0, 7922, "vgncondos1", "des_ranchwall1");

new levu = CreateDynamicObject(7922, -88.71822, 1214.01025, 20.15533,   0.00000, 0.00000, 0.00000);

}


ERRORI :C:\Users\Anoymous\Desktop\dss\gamemodes\mj-rp.pwn(269) : warning 225: unreachable code
C:\Users\Anoymous\Desktop\dss\gamemodes\mj-rp.pwn(269) : warning 217: loose indentation
C:\Users\Anoymous\Desktop\dss\gamemodes\mj-rp.pwn(269) : error 017: undefined symbol "levu"
C:\Users\Anoymous\Desktop\dss\gamemodes\mj-rp.pwn(271) : warning 204: symbol is assigned a value that is never used: "levu"
C:\Users\Anoymous\Desktop\dss\gamemodes\mj-rp.pwn(271 -- 273) : warning 209: function "S@@_OnGameModeInit" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Neke slike/video za lakse dobivanje pomoci(neobavezno):


Slika: http://prntscr.com/5gancw

Probaj ovako
public OnGameModeInit()
{
        // Don't use these lines if it's a filterscript
        SetGameModeText("[Balkan Family]");
        SetTimer("minute",1000*60,true); // POTREBNO ZA STATS
        AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
   
//texture
        new levu = CreateDynamicObject(7922, -88.71822, 1214.01025, 20.15533,   0.00000, 0.00000, 0.00000);
        SetDynamicObjectMaterial(levu, 0, 7922, "vgncondos1", "des_ranchwall1");
       
       
}
return 1;

~Scritpter~Loading~75%~

~C++~Loading~40%~

~X_G1~Loaded~

radi hvala care samo sto si fulao return 1; izvan } ti je
Poslednja Izmena: Decembar 13, 2014, 12:54:24 POSLE PODNE od purgerrr