[AJUDA] relogar
#1

sempre que relogo, morro.


o que faзo ?
Reply
#2

Como assim?, nгo entendi muito bem explique melhor se puder; se for quando o player spawn poste o "OnPlayerSpawn"
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)