07.12.2011, 09:53
classids aren't skinids...every AddPlayerClass adds 1 to it starting from 0.....
do new GROVE1, GROVE2, GROVE3; then do GROVE1 = AddPlayerClass blah blah
then SetPlayerTeamFromClass(playerid, classid)
if(classid == GROVE1 || classid == GROVE2 || classid == GROVE3) do some shit
do new GROVE1, GROVE2, GROVE3; then do GROVE1 = AddPlayerClass blah blah
then SetPlayerTeamFromClass(playerid, classid)
if(classid == GROVE1 || classid == GROVE2 || classid == GROVE3) do some shit
pawn Код:
classid 0 is AddPlayerClass(105,2507.3433,-1667.9476,13.3786,87.4340,0,0,0,0,0,0); // GroveGangster
classid 1 is AddPlayerClass(106,2505.7571,-1661.7249,13.4050,104.9574,0,0,0,0,0,0); // GroveGangster
classid 2 is AddPlayerClass(107,2504.2400,-1676.7767,13.3718,63.2837,0,0,0,0,0,0); // GroveGangster
classid 3 is AddPlayerClass(102,2000.7134,-1118.9550,26.7813,184.3736,0,0,0,0,0,0); // BallasGangster
classid 4 is AddPlayerClass(103,1996.8842,-1119.0229,26.7737,194.7137,0,0,0,0,0,0); // BallasGangster
classid 5 is AddPlayerClass(104,2006.3639,-1119.8727,26.6915,177.4802,0,0,0,0,0,0); // BallasGangster