17.03.2015, 05:04
Hi,
i got 3 problem about warning 202: number of arguments does not match definition
this is line
And
Thanks. And Please Help Me.
i got 3 problem about warning 202: number of arguments does not match definition
this is line
PHP Code:
CMD:drift1(playerid, params[])
{
SetPlayerPos(playerid, 5924,-4716.8574,112.5937,263); // << This IS 1
SendClientMessageToAll(playerid, BLUE, "Has gone to /drift1"); << This Is 2
GameTextForPlayer(playerid, "Welcome To Drift1", 3000, 5);
new string[128], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "~r~%s ~w~has Teleported to ~y~/drift1",pName);
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
PHP Code:
F:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(2946) : warning 202: number of arguments does not match definition
F:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(4405) : warning 202: number of arguments does not match definition
F:\My Documents\Unduhan\Mya\gamemodes\Build9.pwn(4406) : warning 202: number of arguments does not match definition
PHP Code:
#define DIALOG_DRIFT 62
if(dialogid == DIALOG_DRIFT)
{
if(response)
{
if(listitem == 0) cmd_drift1(playerid); // << This IS 3
}
}