01.12.2010, 20:59
u_u
Код:
//////////////////// TOPO //////////////////////////// new running[MAX_PLAYERS]; new Float:x,Float:y,Float;z;
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/evento",cmdtext,true,10) == 0) // Criar evento { for(new i = 0; i < MAX_PLAYERS; i++) { if(running[i] == 0) { SendClientMessageToAll(0x33CCFFAA, "Evento iniciado. Use /irevento para ir"); GetPlayerPos(playerid, x, y, z); } } return 1; } } if(strcmp("/irevento",cmdtext,true,10) == 0) { for(new i = 0; i < MAX_PLAYERS; i++) { if(running[i] == 1) { SetPlayerPos(playerid, x, y, z); } } return 1; }