[Ajuda]Comando X CheckPoit
#10

Isto deve resolver o seu problema .


Apenas retifiquei algumas coisas no cуdigo do Shadoww


pawn Код:
//Coloque na sua public OnPlayerCommandText:

if(!strcmp(cmdtext, "/incendio", true)) // FBI/PSP
    {
        new Float:Pos[3];
        GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
        SendClientMessage(playerid, COLOR_BLUE, "Vocк avisou todos os bombeiros em serviзo. Obrigado.");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(PlayerInfo[i][pJob] == 21)
            {
                SetPlayerCheckpoint(i, Pos[0], Pos[1], Pos[2], 8.0);
                SendClientMessage(i, COLOR_BLUE, "Incкndio, vб atй гo checkpoit.");
            }
        }
        return true;
    }


Espero ter ajudado .
Reply


Messages In This Thread
[Ajuda]Comando X CheckPoit - by [Dk]TuReTOo - 24.06.2011, 18:36
Re: [Ajuda]Comando X CheckPoit - by Shadoww5 - 24.06.2011, 18:47
Re: [Ajuda]Comando X CheckPoit - by [Dk]TuReTOo - 24.06.2011, 18:49
Re: [Ajuda]Comando X CheckPoit - by mengueh - 24.06.2011, 18:50
Re: [Ajuda]Comando X CheckPoit - by Shadoww5 - 24.06.2011, 18:53
Re: [Ajuda]Comando X CheckPoit - by Bruno Pereira - 24.06.2011, 19:01
Re: [Ajuda]Comando X CheckPoit - by [Dk]TuReTOo - 24.06.2011, 19:06
Re: [Ajuda]Comando X CheckPoit - by Shadoww5 - 24.06.2011, 19:14
Re: [Ajuda]Comando X CheckPoit - by [Dk]TuReTOo - 24.06.2011, 19:24
Re: [Ajuda]Comando X CheckPoit - by rjjj - 24.06.2011, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)