[AJUDA] relogar
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(GetPlayerSkin(playerid) == 0)
    {
        if(PlayerInfo[playerid][pSkin]== 0)
        {
            if(PlayerInfo[playerid][pSex] == 1)
            {
                PlayerInfo[playerid][pSkin]= 60;
                SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
            }
            else
            {
                PlayerInfo[playerid][pSkin]= 56;
                SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
            }
        }
        else
        {
            SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
        }
    }
    if (!AlreadyGiveWeapons[playerid]) SetTimerEx("LoadWeaponsToFile",250,false,"i",playerid);
    SetTimer("TimerPos",1000,true);
    if(gPlayerLogged[playerid])
    {
        SetPlayerSpawn(playerid);
        SetPlayerColor(playerid,COLOR_CIVILIAN);
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] relogar - by DreyPT - 14.04.2012, 13:30
Re: [AJUDA] relogar - by whiXґ - 14.04.2012, 13:32
Re: [AJUDA] relogar - by DreyPT - 14.04.2012, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)