[Ajuda] erro compilar
#3

if(strcmp(Comando,"/setpos",true)==0)
{
new plid,Floatetpos[3];
tmp = strtok(cmdtext,idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xBFBFBFAA, "USE: /setpos [id] [X] [Y] [Z]");
plid = strval(tmp);
for(new x=0;x<3;x++) {
tmp = strtok(cmdtext,idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xBFBFBFAA, "USE: /setpos [id] [X] [Y] [Z]");
setpos[x] = floatstr(tmp);
}
SetPlayerPos(plid,setpos[0],setpos[1],setpos[2]);
SendClientMessage(playerid, 0xBFBFBFAA, "Posicao setada!");
return 1;
}

estou tentando colocar esse comando na gm preciso muito desse comando
Reply


Messages In This Thread
erro compilar - by Aranha - 05.07.2020, 16:03
Re: erro compilar - by k2bi - 05.07.2020, 16:06
Re: erro compilar - by Aranha - 05.07.2020, 16:09
Re: erro compilar - by k2bi - 05.07.2020, 16:13
Re: erro compilar - by Sants - 05.07.2020, 16:18
Re: erro compilar - by Aranha - 05.07.2020, 16:27
Re: erro compilar - by ipsLuan - 06.07.2020, 00:31

Forum Jump:


Users browsing this thread: 1 Guest(s)