Stopping a player spawn if they don't meet requirement
#1

Hey, I've basically got a PlayerInfo[playerid][Clan] system, So for example, Clan = 1, Able to spawn as PD.

How would I implament it if I was set to clan 0, went to choose PD and not allowed to spawn as I am not in Clan 1?

Код:
		if(PlayerInfo[playerid][Clan] != 1)
		{
			return 0;
		}
I basically have this, Do I place it under public OnPlayerRequestClass pr OnPlayerSpawn?
Reply


Messages In This Thread
Stopping a player spawn if they don't meet requirement - by acade - 08.01.2013, 23:26
Re: Stopping a player spawn if they don't meet requirement - by mastermax7777 - 08.01.2013, 23:44
Re: Stopping a player spawn if they don't meet requirement - by acade - 09.01.2013, 15:36
Re: Stopping a player spawn if they don't meet requirement - by DaRk_RaiN - 09.01.2013, 15:43
Re: Stopping a player spawn if they don't meet requirement - by Ryan McDuff - 09.01.2013, 15:44

Forum Jump:


Users browsing this thread: 2 Guest(s)