11.02.2011, 08:14
ZCMD + sscanf + loop = your command.
Something like:
NOT TESTED!
Something like:
pawn Код:
COMMAND:tplayer(playerid, params[])
{
new Float:posX,Float:posY,Float:posZ;
if(!sscanf(params, "fff",posX,posY,posZ))
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
SetPlayerPos(i, posX,posY,posZ);
}
}
else return SendClientMessage(playerid, 0xFFFFFFFF, "Usage: /tplayer [X][Y][Z]");
return 1;
}