[HELP]Arena for 2 players!!!!
#1

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

Код:
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;
	}
Reply


Messages In This Thread
[HELP]Arena for 2 players!!!! - by J. - 10.06.2010, 19:42
Re: [HELP]Arena for 2 players!!!! - by Niixie - 10.06.2010, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)