26.01.2010, 17:30
Hey all,
I Have this code:
at OnPlayerRequestClass.
and this:
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.
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]);
and this:
pawn Код:
new ClassSelectionInt[][2] = {2,3};
new Float:ClassSelection[][2] = //By Naor
{
{..},
{..}
};
I have saved some Places, and I don't have an idea how to place the positions in this code.