skin list help
#6

Quote:
Originally Posted by Steven82
Посмотреть сообщение
I wouldn't suggest giving them the gamemode, even thought they wouldn't want anything to do with it im sure.
well i belive this is the selection , here is teh pawn script, coudl you edit so it automaticaly spawns with id 299 ?

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(IsPlayerNPC(playerid))
    {
        printf("NPC: OnPlayerRequestClass: %d", playerid);
        return 1;
    }
    if(gPlayerLogged[playerid] == 0)
    {
        TogglePlayerSpectating(playerid, 1);
        return 1;
    }
    SetupPlayerForClassSelection(playerid);
    if(gPlayerSpawned[playerid] == 1)
    {
        if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0 || PlayerInfo[playerid][pFMember] != 255)
        {
            SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
        }
        else
        {
            PlayerInfo[playerid][pModel] = PedSkins[classid][0];
        }
    }
    else
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    return 1;
}
Reply


Messages In This Thread
skin list help - by Sweet_Mafia™ - 22.12.2010, 00:09
Re: skin list help - by Krx17 - 22.12.2010, 06:55
Re: skin list help - by Grim_ - 22.12.2010, 07:07
Re: skin list help - by Sweet_Mafia™ - 22.12.2010, 21:14
Re: skin list help - by Steven82 - 22.12.2010, 21:19
Re: skin list help - by Sweet_Mafia™ - 27.12.2010, 05:05

Forum Jump:


Users browsing this thread: 1 Guest(s)