[HELP]warning 202: number of arguments does not match definition
#1

Hi,
i got 3 problem about warning 202: number of arguments does not match definition

this is line
PHP Code:
CMD:drift1(playeridparams[])
{
    
SetPlayerPos(playerid5924,-4716.8574,112.5937,263); // << This IS 1
    
SendClientMessageToAll(playeridBLUE"Has gone to /drift1"); << This Is 2
        GameTextForPlayer
(playerid"Welcome To Drift1"30005);
    new 
string[128], pName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
    
format(stringsizeof(string), "~r~%s ~w~has Teleported to ~y~/drift1",pName);
     
SetPlayerVirtualWorld(playerid0);
    return 
1;

PHP Code:
F:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(2946) : warning 202number of arguments does not match definition
F
:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(4405) : warning 202number of arguments does not match definition
F
:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(4406) : warning 202number of arguments does not match definition 
And

PHP Code:
    #define DIALOG_DRIFT                                            62
if(dialogid == DIALOG_DRIFT)
    {
        if(
response)
        {
            if(
listitem == 0cmd_drift1(playerid); // << This IS 3
        
}
    } 
Thanks. And Please Help Me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)