[AJUDA]OnPlayerSpawn
#1

Galera queria saber oque estб de errado no OnPlayerSpawn porque quando boto um cara de lv 3 de RRB = Repуrter quando ele morre volta pra level 1

Код:
        if(levelrrb[playerid] >= 1 || PlayerInfo[playerid][pRRB] >= 1)
        {
        //REPУRTERES
                        SetPlayerInterior(playerid,0);
                        SetPlayerPos(playerid,749.1455,-1346.5336,13.5140);
                        GameTextForPlayer(playerid,"~W~BEM VINDO~h~ ~y~Reporter !", 1000,1);
                        GivePlayerWeapon(playerid,24,999999);
                        GivePlayerWeapon(playerid,27,999999);
                        GivePlayerWeapon(playerid,29,999999);
                        GivePlayerWeapon(playerid,30,999999);
                        GivePlayerWeapon(playerid,34,999999);
                        GivePlayerWeapon(playerid,0,999999);
                        SetPlayerArmour(playerid, 300.0);
                        SetPlayerColor(playerid, COR_RRB);
                        SetPlayerSkin(playerid, 187);
                        SetPlayerHealth(playerid, 300.0);
                        SetPlayerVirtualWorld(playerid, 0);
                        TogglePlayerControllable(playerid,1);
                        SendClientMessage(playerid, COLOR_WHITE, "Use /comandosrrb, para ver os comandos de Repуrter!");
                        //levelrrb[playerid] = 1;
                        PlayerInfo[playerid][pRRB] = 1;
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        return dini_IntSet(udb_encode(sendername), "levelrrb", levelrrb[playerid]);
        }
OBS: Meu OnPlayerDeath nгo tem nenhum code!
Reply


Messages In This Thread
[AJUDA]OnPlayerSpawn - by Nake01 - 28.05.2011, 21:14
Re: [AJUDA]OnPlayerSpawn - by The Knight - 28.05.2011, 21:19
Re: [AJUDA]OnPlayerSpawn - by Nake01 - 28.05.2011, 21:34
Re: [AJUDA]OnPlayerSpawn - by The Knight - 28.05.2011, 21:42
Re: [AJUDA]OnPlayerSpawn - by Nake01 - 28.05.2011, 21:57

Forum Jump:


Users browsing this thread: 1 Guest(s)