Need help
#1

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...
Reply
#2

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.
Reply
#3

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)