Put the classid in OnPlayerSpawn callback?
#3

I want to give a weapon (the 10 ) to a special class,and i think it's the easier
I got that:
Код:
	if (!classid == 44)
	{
		SendClientMessage(playerid, 0xFFFFFFAA, "Good luck in this nucked world");
		GivePlayerWeapon(playerid, 8, 0);
		GivePlayerWeapon(playerid, 22, 100);
		GivePlayerWeapon(playerid, 25, 200);
		GivePlayerWeapon(playerid, 28, 800);
		GivePlayerWeapon(playerid, 33, 50);
		GivePlayerWeapon(playerid, 18, 7);
	};
	if (classid <= 42 && >= 37 )
	{
	  GivePlayerWeapon(playerid, 10, 0);
	};
There are surely lots of errors,i'm sorry
Reply


Messages In This Thread
Put the classid in OnPlayerSpawn callback? - by TimBuk.Ekh - 17.04.2009, 16:43
Re: Put the classid in OnPlayerSpawn callback? - by Rks25 - 17.04.2009, 16:52
Re: Put the classid in OnPlayerSpawn callback? - by TimBuk.Ekh - 17.04.2009, 16:55
Re: Put the classid in OnPlayerSpawn callback? - by Rks25 - 17.04.2009, 17:08
Re: Put the classid in OnPlayerSpawn callback? - by TimBuk.Ekh - 17.04.2009, 17:15
Re: Put the classid in OnPlayerSpawn callback? - by Rks25 - 17.04.2009, 17:17

Forum Jump:


Users browsing this thread: 2 Guest(s)