Need help.
#1

Hey, im making PREMIUM player system and i got little problem.
How i can make that if you are not premium player, you cant use some classes.



here is my code:


Код:
else if(classid >= 13 && classid <= 14)
	{
        GameTextForPlayer(playerid, "~b~Box~r~er ~w~/ Survivor [PREMIUM]", 3000, 3);
        if(PREMIUM[playerid] == 0) return GameTextForPlayer(playerid, "~w~ You are not ~r~Premium ~b~Player~w~!", 3000, 3);
		PlayerTeam[playerid] = 0;
		SetPlayerTeam(playerid,0);
	}
it fails now, where i must put
Код:
if(PREMIUM[playerid] == 0) return GameTextForPlayer(playerid, "~w~ You are not ~r~Premium ~b~Player~w~!", 3000, 3);
that it wont let player spawn.
Reply


Messages In This Thread
Need help. - by Randomai - 02.03.2011, 08:13
Re: Need help. - by Randomai - 02.03.2011, 08:38
Re: Need help. - by Randomai - 02.03.2011, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)