OnPlayerRequestClass
#1

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.
Reply
#2

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
};
Reply
#3

not right, I need to know what position's to put in the function parameters.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)