skin visible
#2

You will have to edit this a bit.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    classid = GetPlayerSkin(playerid);
   
    SetPlayerPos(playerid, 2018.374, 1441.007, 39.000); //Change all these coords with your own, this will make the player visible in the class selection
    SetPlayerCameraPos(playerid, 2017.8604, 1426.3507, 39.4044);
    SetPlayerCameraLookAt(playerid, 2018.3740, 1441.0073, 39.0000);

    switch(classid)
    {
        //Say this is the cop skin id
        case 178:
        {
            GameTextForPlayer(playerid, "Cops", 3000, 1);
        }
        //Say this is the civilian skin id
        case 160:
        {
            GameTextForPlayer(playerid, "Civilian", 3000, 1);
        }
    }
    return 1;
}
Reply


Messages In This Thread
skin visible - by phil_lendon - 27.07.2011, 18:56
Re: skin visible - by PotH3Ad - 27.07.2011, 19:05
Re: skin visible - by phil_lendon - 27.07.2011, 19:48

Forum Jump:


Users browsing this thread: 1 Guest(s)