SA-MP Forums Archive
Class selection - 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: Class selection (/showthread.php?tid=92056)



Class selection - Goobiiify - 18.08.2009

Hello, When I'm in class selection then the character is on wrong face direction and everytime I do /kill it's changing to a other direction.
Does anyone have any idea that could solve this problem, please.

/Al


Re: Class selection - Khelif - 18.08.2009

put under the public OnPlayerRequestClass(playerid, classid) callback
pawn Код:
SetPlayerFacingAngle(playerid, ...);



Re: Class selection - Goobiiify - 18.08.2009

Quote:
Originally Posted by ĸнelιғaтι
put under the public OnPlayerRequestClass(playerid, classid) callback
pawn Код:
SetPlayerFacingAngle(playerid, ...);
Thanks, That solved the problem.

I got a other problem now, It's seems that, if you change team(F4) the previews color is still there, Any suggestions on what the problem can be?


Re: Class selection - Khelif - 18.08.2009

what do you mean by 'previews color'?


Re: Class selection - Goobiiify - 18.08.2009

Quote:
Originally Posted by ĸнelιғaтι
what do you mean by 'previews color'?
Every team have one color and if you are in team 1 then you get color red but if then will change team to team 2 that have color green. You still have Color red. Do you understand?