/goto errors i need help
#1

this is script goto:
ocmd:goto(playerid,params[])
{
new ID;
if(sscanf(params, "u", ID)) SendClientMessage(playerid, 0xFF0000FF, "Usa: /goto [playerid]");
else if(!IsPlayerConnected(id) || id == playerid) return SendClientMessage(playerid, 0xFF0000FF, "Questo giocatore non и in game");
else
{
new Float, Float:y, Float:z;
GetPlayerPos(ID, x, y, z);
SetPlayerPos(playerid, x+1, y+1, z);
}
return 1;
}



this is error: C:\Users\Kevin11\Desktop\Nuova cartella\gamemodes\script.pwn(909) : error 017: undefined symbol "id"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
/goto errors i need help - by kevi11 - 09.03.2016, 12:35
Re: /goto errors i need help - by Golden96 - 09.03.2016, 12:58
Re: /goto errors i need help - by kevi11 - 09.03.2016, 13:05
Re: /goto errors i need help - by saffierr - 09.03.2016, 13:08
Re: /goto errors i need help - by TheHonnor - 09.03.2016, 13:21
Re: /goto errors i need help - by xTURBOx - 09.03.2016, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)