10.06.2010, 19:42
Can anyone help me make this arena only allows two players compete dm. If another player wants to get a message "The arena is full"!
Thanks
Thanks
Код:
if (strcmp(cmdtext,"/x1", true)==0)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1531.834,-1131.411,135.488);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s was to x1 (/x1)", pname);
SendClientMessageToAll(COLOR_RED, string);
GivePlayerWeapon(playerid,4,0);
GivePlayerWeapon(playerid,26,500);
GivePlayerWeapon(playerid,31,500);
GivePlayerWeapon(playerid,24,500);
GivePlayerWeapon(playerid,32,500);
return 1;
}

