SA-MP Forums Archive
Need help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help (/showthread.php?tid=316298)



Need help - SpiderWalk - 06.02.2012

Hi everybody all night i was scripting my server none sleep.I dont have enought energy please can someone see in what is problem...
code
pawn Код:
LBomb = Create3DTextLabel(""embed_red"["embed_white"Bomb"embed_red"]"embed_white"Not planted",0x008080FF,2598.7500,1775.6918,10.8203,0);
Warning
Код:
H:\samp03dsvr_win32(1)\gamemodes\DP.pwn(258) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Please help me...


Re: Need help - iPLEOMAX - 06.02.2012

pawn Код:
Create3DTextLabel
    (
        ""embed_red"["embed_white"Bomb"embed_red"]"embed_white"Not planted", //text[]
        0x008080FF,     //color
        2598.7500,      //X
        1775.6918,      //Y
        10.8203,        //Z
        50,             //DrawDistance
        0,              //Virtual world
        false;          //Test Line of Sight
    );
Whenever you get "number of args doesn't match defs" split the arguments like you do in arrays. That will make it easier to read and find faults.


Re: Need help - SpiderWalk - 06.02.2012

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
pawn Код:
Create3DTextLabel
    (
        ""embed_red"["embed_white"Bomb"embed_red"]"embed_white"Not planted", //text[]
        0x008080FF,     //color
        2598.7500,      //X
        1775.6918,      //Y
        10.8203,        //Z
        50,             //DrawDistance
        0,              //Lineo f Sight
        false;
    );
Thanks soo much