Way please
#2

pawn Код:
new Float: skinX = 0.0;
new Float: skinY = 0.0;
new Float: skinZ = 0.0;
new Float: skinA = 0.0;
new Float: camX = 0.0;
new Float: camY = 0.0;
new Float: camZ = 0.0;

public OnPlayerRequestClass(playerid,classid)
{
    SetPlayerPos(playerid, skinX, skinY, skinZ);
    SetPlayerFacingAngle(playerid, skinA);
    SetPlayerCameraPos(playerid, camX, camY, camZ);
    SetPlayerCameraLookAt(playerid, skinX, skinY, skinZ);
    return 1;
}

CMD:setallskin(playerid, params[])
{
    GetPlayerPos(playerid, skinX, skinY, skinZ);
    GetPlayerFacingAngle(playerid, skinA);
    SendClientMessage(playerid, -1, "Updated skin selection pos.");
    return 1;
}

CMD:setallskincamera(playerid, params[])
{
    GetPlayerPos(playerid, camX, camY, camZ);
    SendClientMessage(playerid, -1, "Updated skin selection cam pos.");
    return 1;
}
Reply


Messages In This Thread
Way please - by DhO0m - 30.08.2014, 13:45
Re: Way please - by [XST]O_x - 30.08.2014, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)