OnPlayerRequestClass - 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: OnPlayerRequestClass (
/showthread.php?tid=123627)
OnPlayerRequestClass -
Cry_Wolf - 26.01.2010
Hey all,
I Have this code:
pawn Код:
SetPlayerCameraPos(playerid,PlayerSkinSelection[SkinOrder[playerid]][0],PlayerSkinSelection[SkinOrder[playerid]][1],PlayerSkinSelection[SkinOrder[playerid]][2]);
SetPlayerPos(playerid,PlayerSkinSelection[SkinOrder[playerid]][3],PlayerSkinSelection[SkinOrder[playerid]][4],PlayerSkinSelection[SkinOrder[playerid]][5]);
SetPlayerFacingAngle(playerid,PlayerSkinSelection[SkinOrder[playerid]][6]);
SetPlayerCameraLookAt(playerid,PlayerSkinSelection[SkinOrder[playerid]][3],PlayerSkinSelection[SkinOrder[playerid]][4],PlayerSkinSelection[SkinOrder[playerid]][5]);
SetPlayerInterior(playerid,PlayerSkinSelection2[SkinOrder[playerid]][0]);
at OnPlayerRequestClass.
and this:
pawn Код:
new ClassSelectionInt[][2] = {2,3};
new Float:ClassSelection[][2] = //By Naor
{
{..},
{..}
};
Can you Please tell me what is the parameters that I can place in the ClassSelection float.
I have saved some Places, and I don't have an idea how to place the positions in this code.
Re: OnPlayerRequestClass -
kmzr - 26.01.2010
If this is wrong, it's cos i'm new to using pawn...
pawn Код:
new ClassSelectionInt[][2] = {2,3};
new Float:ClassSelection[][2] = //By Naor
{
Float:x,
Float:y,
Float:z,
Float:a
};
Re: OnPlayerRequestClass -
Cry_Wolf - 26.01.2010
not right, I need to know what position's to put in the function parameters.