if(strcmp("/bj17",cmdtext,true, 6) == 0) { SetPlayerPos(playerid,0,-2232.4333,-1738.0609,480.8380,220.3962,0,0,0,0,0,0); SendClientMessage(playerid,COLOR_PINK, "Welcome to BaseJump 17"); GivePlayerWeapon(playerid,46,1); GameTextForPlayer(playerid,"Welcome to BaseJump 17",3500,6); return 1; }
C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition C:\Users\KryptoniteX\Desktop\gtasa\pawno\BJ.pwn(487) : warning 202: number of arguments does not match definition
Code: if(strcmp("/bj17",cmdtext,true, 6) == 0) { SetPlayerPos(playerid, -2232.4333,-1738.0609,480.8380); SendClientMessage(playerid,COLOR_PINK, "Welcome to BaseJump 17"); GivePlayerWeapon(playerid,46,1); GameTextForPlayer(playerid,"Welcome to BaseJump 17",3500,6); return 1; }
if(strcmp("/bj17",cmdtext,true, 6) == 0)
{
SetPlayerPos(playerid,-2232.4333,-1738.0609,480.8380);
SendClientMessage(playerid,COLOR_PINK, "Welcome to BaseJump 17");
GivePlayerWeapon(playerid,46,1);
GameTextForPlayer(playerid,"Welcome to BaseJump 17",3500,6);
return 1;
}
Код:
Code: if(strcmp("/bj17",cmdtext,true, 6) == 0) { SetPlayerPos(playerid, -2232.4333,-1738.0609,480.8380); SendClientMessage(playerid,COLOR_PINK, "Welcome to BaseJump 17"); GivePlayerWeapon(playerid,46,1); GameTextForPlayer(playerid,"Welcome to BaseJump 17",3500,6); return 1; } |
"number of arguments does not match definition"
-The arguments you've used in this function: playerid,0,-2232.4333,-1738.0609,480.8380,220.3962,0,0,0,0,0,0 -Definition of the function: playerid, Float:X, Float:Y, Float:Z Hope this helps. https://sampwiki.blast.hk/wiki/SetPlayerPos pawn Код:
|