SA-MP Forums Archive
Force "skin change" - 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: Force "skin change" (/showthread.php?tid=112787)



Force "skin change" - Naruto4 - 10.12.2009

I want to force a player when he logs he gets to see that RequestClass (( that F4 thing ))
can i somehow force him without F4.I dont want a cmd.I want it autaticly under some callback.

thanks


Re: Force "skin change" - [03]Garsino - 10.12.2009

Quote:
Originally Posted by Naruto4
I want to force a player when he logs he gets to see that RequestClass (( that F4 thing ))
can i somehow force him without F4.I dont want a cmd.I want it autaticly under some callback.

thanks
put
pawn Код:
ForceClassSelection(playerid);
under OnPlayerDeath.


Re: Force "skin change" - patchkinson - 10.12.2009

Yup.
unde OnPlayerDeath ForceClassSelection(playerid);
then you can do some animations n stuff
or you can do a command /kill
that ForceClassSelection(playerid)
and make it play animations, sound n stuff!
but you can make those things too on OnPlayerDeath