[Ajuda] Ajuda com Checkpoint
#5

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(
CPS_IsPlayerInCheckpoint(playerid,assalto))
    {
        
SendClientMessage(playerid,0x008040AA,"Inicio de um assalto!");
        
ShowPlayerDialog(playerid430DIALOG_STYLE_MSGBOX,"Assalto""Deseja fazer um assalto?""Sim","Nao");
        print(
"Tudo ok.\n");
        return 
1;
    }
    return 
1;

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    
printf("OnPlayerResponse(%i, %i, %i, %i, %s)"playeriddialogidresponselistiteminputtext);
    if(
dialogid == 430)
    {
        if(
response == 1)
        {
            
SendClientMessage(playerid, -1"vб atй o local marcado no mapa.");
            
SendClientMessageToAll(-1"um novo assalto foi iniciado \"/cop\" para detelo!");
            return 
1;
        }
    }
    return 
1;

Reply


Messages In This Thread
Ajuda com Checkpoint - by R3C4LL - 12.11.2012, 00:54
Re: Ajuda com Checkpoint - by R3C4LL - 12.11.2012, 01:08
Re: Ajuda com Checkpoint - by Sergiinhonike - 12.11.2012, 01:14
Re: Ajuda com Checkpoint - by R3C4LL - 12.11.2012, 01:18
Re: Ajuda com Checkpoint - by Sergiinhonike - 12.11.2012, 01:23
Re: Ajuda com Checkpoint - by R3C4LL - 12.11.2012, 01:35
Re: Ajuda com Checkpoint - by [Dark]Danny_Uchiha - 12.11.2012, 01:37
Re: Ajuda com Checkpoint - by Sergiinhonike - 12.11.2012, 01:42
Re: Ajuda com Checkpoint - by R3C4LL - 12.11.2012, 01:48
Re: Ajuda com Checkpoint - by Sergiinhonike - 12.11.2012, 01:50

Forum Jump:


Users browsing this thread: 1 Guest(s)