18.10.2010, 13:42
Try:
I just typed this fast, dunno if it works. ^^
pawn Код:
if(!strcmp(cmdtext, "/port"))
{
new tmp[256], tmp2[256], tmp3[256], idx;
tmp=strtok(cmdtext, idx); tmp2=strtok(cmdtext, idx); tmp3=strtok(cmdtext, idx);
new Float:x, Float:y, Float:z;
x=floatstr(tmp); y=floatstr(tmp2); z=floatstr(tmp3);
SetPlayerPos(playerid, x,y,z);
return 1;
}