Way please
#1

Is the any way to make a skin selection system
i mean when i type /setallskin it will auto set all skins there
and when i type /setallskincamera it will choose there as the camere.
it would be easy for making new skin systems .
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)