11.07.2013, 20:04
pawn Код:
CMD:setpos(playerid,params[])
{
new ID,Float:Pos[3];
if(sscanf(params,"ufff",ID,Pos[0],Pos[1],Pos[2])
{
SendClientMessage(playerid, 0xBFBFBFAA, "USE: /setpos [id] [x] [y] [z]");
}
if(IsPlayerConnected(ID))
{
SetPlayerPos(ID,Pos[0],Pos[1],Pos[2]);
}
return 1;
}
