Posts: 559
Threads: 50
Joined: Mar 2012
Reputation:
0
Is it possible to make a Skin Selection just like OnPlayerRequestClass
so here let me explain it
if player go to the skin pickup's he will go to Skin Selection.
which is i gonna use SetPlayerCamPosLookAt (my func) and SetPlayerVWIPosAng (also my func)
is this possible without doing ForceClassSelection?
Posts: 423
Threads: 96
Joined: Sep 2010
Reputation:
0
yeah you can.
on the skin pick up you want to do
ForceClassSelection(playerid);
SetPlayerHealth(playerid, 0);
and that will give them class selection
Posts: 559
Threads: 50
Joined: Mar 2012
Reputation:
0
no i mean if player pick the skinpickup he will go to Skin Selection
which is i need to use OnPlayerKeyStateChange instead of ForceClassSelection
Posts: 423
Threads: 96
Joined: Sep 2010
Reputation:
0
yeah you can have onplayerpickup he/she gets send to onplayerclass.
Posts: 559
Threads: 50
Joined: Mar 2012
Reputation:
0
i know how to use the OnPlayerPickUpPickup, but i want a skin selection without using ForceClassSelection, i just want to use something like OnPlayerKeyStateChange to choose a skin.
Posts: 559
Threads: 50
Joined: Mar 2012
Reputation:
0
Now the question is how to check the next skin id example
i'm using skin id 0, then how to check the next skin id?
Posts: 929
Threads: 17
Joined: Mar 2012
Reputation:
0
well just like samp,
make an array of your custom player classes
and store the skin ID, and any other info you may need to know about the skin, like group/team ect..