09.05.2011, 16:13
pawn Код:
if(strcmp("/irx1", cmdtext, true) == 0)
{
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerPos(playerid, X , Y , Z);
SendClientMessage(playerid, Cor, "Estas agora no x1!");
return 1;
}
pawn Код:
if(strcmp("/trazertodosx1", cmdtext, true) == 0)
{
new Float:PlayerPos[3];
GetPlayerPos(playerid,Pos1[0],Pos2[1],Pos3[2]);
for(new x = 0, y = GetMaxPlayers(); x != y; x++) return SetPlayerPos(x,Pos1[0],Pos2[1],Pos3[2]);
SendClientMessage(playerid,0xFFFFFFAA,"Vocк trouxe todos para o evento!");
return 1;
}
Isto seria um pedido e procure usar o search.