skin visible
#1

How can i make the skin visible? i still have no idea :/ i did it in my first game mode and now i dunno :P also when i go over that character how can i make it say " Civilian" and "Cop"
Reply
#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
#3

It doesnt appear to work the characters and i dont get the text bit?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)