[ajuda] /pulartuto bugado
#2

isso ta certo...
pawn Код:
if(strcmp(cmd, "/pulartuto", true) == 0)
    {
        if(PlayerInfo[playerid][pTut] != 0)
            return SendClientMessage(playerid, COLOR_RED, "[Fail] Vocк nгo estб no tutorial."); }

        KillTimer(tempotutorial[playerid]);
        EsconderTodosText(playerid);
        LimparChat(playerid);
        EsconderTodosText(playerid);
        GivePlayerGP(playerid, 0);
        SetPlayerFacingAngle(playerid, 294.5726);
        SetPlayerVirtualWorld(playerid,0);
        partetutorial[playerid] = 0;
        PlayerInfo[playerid][pTut] = 1;
        SetCameraBehindPlayer(playerid);
        PlayerPlayMusic(playerid);
        SetCameraBehindPlayer(playerid);
        SetPlayerHealth(playerid,100.0);
        TogglePlayerControllable(playerid, 1);
        TutTime[playerid] = 0;
        gOoc[playerid] = 0; gNews[playerid] = 0; gFam[playerid] = 0;
        TogglePlayerControllable(playerid, 1);
        OnPlayerSave(playerid);
        SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
        SendClientMessage(playerid, COLOR_YELLOW2, "BEM VINDO ao Expirion Games [/equipe]");
        SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
        SendClientMessage(playerid, COLOR_YELLOW2, "Somente as pessoas que estiverem perto de vocк leram o que vocк digitar.");
        SendClientMessage(playerid, COLOR_YELLOW2, "Para usar o chat de conversa use T, depois digite o texto e enter.");
        SendClientMessage(playerid, COLOR_YELLOW2, "Use /relato [texto] para falar com os administradores.");
        SendClientMessage(playerid, COLOR_YELLOW2, "Utilize /gps Para Se Localizar Durante o Jogo.");
        SendClientMessage(playerid, COLOR_GREEN, "================================================= ===============");
        SetPlayerPos(playerid,1477.89,-1642.31,14.16);//spawncoord
        RegistrationStep[playerid] = 0;
        return 1;
    }
Poste o OnPlayerSave ...
Reply


Messages In This Thread
[ajuda] /pulartuto bugado - by SERRA93 - 02.06.2011, 17:44
Re: [ajuda] /pulartuto bugado - by TheGarfield - 02.06.2011, 18:29
Re: [ajuda] /pulartuto bugado - by SERRA93 - 02.06.2011, 23:31
Re: [ajuda] /pulartuto bugado - by Shadoww5 - 02.06.2011, 23:58

Forum Jump:


Users browsing this thread: 1 Guest(s)