automatically spawning player
#1

Код:
public OnPlayerRequestSpawn(playerid)
{

		
		if(gTeam[playerid] == TEAM_CIVILIAN)
		{
		if(pInfo[playerid][pXP] <= 14999)
		return SendClientMessage(playerid, -1, "{FF0000}[ERROR]{FFFFFF} You do not have sufficient XP to join this class.");
		else
		{
		SpawnPlayer(playerid);
		}
		}

It sends me a MESSAGE, but also spawns me, i don't want it to spawn unless i meet the requirement..
Reply


Messages In This Thread
automatically spawning player - by div - 21.06.2018, 03:25
Re: automatically spawning player - by DerickClark - 21.06.2018, 03:38
Re: automatically spawning player - by div - 21.06.2018, 03:44

Forum Jump:


Users browsing this thread: 1 Guest(s)