SA-MP Forums Archive
How the hell do i do this? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How the hell do i do this? (/showthread.php?tid=117058)



How the hell do i do this? - Bloodz4Lyfe - 31.12.2009

i have

Код:
new blood1;
Код:
blood1 = AddPlayerClass(19,2098.2039,1092.6553,10.8203,4,1,24,50,0,0); // blood
and

Код:
if (PlayerClass == blood1)
	{
	GameTextForPlayer(playerid,"~r~Blood",3000,4);
	SetPlayerColor(playerid,red);
	return 1;
	}
It is not working. Why?


Re: How the hell do i do this? - [HiC]TheKiller - 31.12.2009

It's
pawn Код:
if(classid == blood1)