[Pedido] Comando
#4

Quote:
Originally Posted by NuTShoT
Посмотреть сообщение
Olб caoraivoso3!

Tente desta maneira que eu fiz:

Junto com as suas forward's:
pawn Код:
forward DriveTempo();
pawn Код:
if(strcmp(cmd, "/drive", true) == 0 || strcmp(cmd, "/mcdrive", true) == 0)
{
    if(!IsPlayerInRangeOfPoint(playerid, 10.0, 2695.6880, -1704.6300, 11.8438 || 10.0, 2695.6880, -1704.6300, 11.8438 || 10.0, 2695.6880, -1704.6300, 11.8438 ))
    {
        SendClientMessage(playerid,-1,"Nгo estбs num McDrive!");    
        return true;
    }
    else
    {
        SendClientMessage(playerid, -1,"Vocк fez um pedido ao empregado agora deve esperar pela sua emcomenda!");
        TogglePlayerControllable(playerid, 0);
        SetTimer("DriveTempo", 10000, false);
        GameTextForPlayer(playerid, "Aguardando pelo pedido...", 10000, 3);
    }
    return 1;
}
No fim do seu GM:

pawn Код:
public DriveTempo() {
    SendClientMessage(playerid, -1,"O empregado te entrega a emcomenda com sucesso!");
    TogglePlayerControllable(playerid, 1);    
    GameTextForPlayer(playerid, "Volte sempre...", 1500, 3);
    return true;
}
Vlw!
Isso ai nгo vai funcionar.
Reply


Messages In This Thread
Comando - by caoraivoso3 - 02.02.2013, 15:38
Re: Comando - by caoraivoso3 - 03.02.2013, 08:32
Re: Comando - by NuTShoT - 03.02.2013, 13:38
Re: Comando - by Abravanel - 03.02.2013, 13:47
Re: Comando - by NuTShoT - 03.02.2013, 14:43
Re: Comando - by tonisantolia - 03.02.2013, 14:57
Re: Comando - by caoraivoso3 - 03.02.2013, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)