SA-MP Forums Archive
What the gosh - added a class, but not showing up. - 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: What the gosh - added a class, but not showing up. (/showthread.php?tid=100324)



What the gosh - added a class, but not showing up. - TheFailFactor - 04.10.2009

Iґve added a new class.. but.. doesnt want to show up

AddPlayerClassEx(6, 294, 1001.5103,3371.2021,8.2547,267.2291, 269.15, 0, 0, 0, 0, 0, 0);


On SetPlayerTeamFromClass:

Код:
	 	case 6:
		{
 			SetPlayerInterior(playerid,0);
		  SetPlayerPos(playerid, 1001.5103,3371.2021,8.2547);
	    SetPlayerFacingAngle(playerid, 130.0);
	    SetPlayerCameraPos(playerid, 1048.2997,3373.0076,8.2147);
	    SetPlayerCameraLookAt(playerid, 1001.5103,3371.2021,8.2547);
		  GameTextForPlayer(playerid, "~r~Special team: ~g~Elite forces", 1500, 1);
		  SetPlayerTeam(playerid,6);
   	}
But ingame, this class doesnt want to show up. D:


Re: What the gosh - added a class, but not showing up. - Puzi - 04.10.2009

Any reason for it being AddPlayerClassEx?


Re: What the gosh - added a class, but not showing up. - TheFailFactor - 04.10.2009

No.. but it didnt work with AddPlayerClass either.