02.11.2011, 16:02
Quote:
PHP код:
undefinide simbol params |
Isto deve resolver o seu problema .
pawn Код:
if(strcmp(cmd, "/irpos", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:Coordenada[3];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid,-1,"Use /irpos [X][Y][Z]");
Coordenada[0] = floatstr(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid,-1,"Use /irpos [X][Y][Z]");
Coordenada[1] = floatstr(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid,-1,"Use /irpos [X][Y][Z]");
Coordenada[2] = floatstr(tmp);
SetPlayerPos(playerid,Coordenada[0],Coordenada[1],Coordenada[2]);
SendClientMessage(playerid, 0x33CCFFAA, "[Server Info] Vocк foi atй as coordenadas indicadas !");
}
return true;
}
Espero ter ajudado .