[Ajuda] IsPlayerInCheckpoint
#5

pawn Код:
CMD:abastecer(playerid, params[])
{
    if(!CPS_IsPlayerInCheckpoint(playerid,posto1) || !CPS_IsPlayerInCheckpoint(playerid,posto2) || !CPS_IsPlayerInCheckpoint(playerid,posto3))
        return SendClientMessage(playerid, Vermelho, "Vocк nгo esta em um posto /irposto");
       
    if(!IsPlayerInAnyVehicle(playerid))
        return SendClientMessage(playerid, Vermelho, "Vocк nгo esta em um carro");
       
    ShowPlayerDialog(playerid,GAS,DIALOG_STYLE_INPUT,"Coloque Gasolina","Por favor digite os litros","Abastecer","Sair");
    return 1;
Tente.
Reply


Messages In This Thread
IsPlayerInCheckpoint - by [Dark]Danny_Uchiha - 13.12.2012, 01:15
Re: IsPlayerInCheckpoint - by EditPawn - 13.12.2012, 01:16
Re: IsPlayerInCheckpoint - by [Dark]Danny_Uchiha - 13.12.2012, 01:23
Re: IsPlayerInCheckpoint - by EditPawn - 13.12.2012, 01:25
Re: IsPlayerInCheckpoint - by zSuYaNw - 13.12.2012, 01:27
Re: IsPlayerInCheckpoint - by [Dark]Danny_Uchiha - 13.12.2012, 01:30
Re: IsPlayerInCheckpoint - by EditPawn - 13.12.2012, 01:31
Re: IsPlayerInCheckpoint - by [Dark]Danny_Uchiha - 13.12.2012, 01:41
Re: IsPlayerInCheckpoint - by EditPawn - 13.12.2012, 01:43
Re: IsPlayerInCheckpoint - by [Dark]Danny_Uchiha - 13.12.2012, 02:00

Forum Jump:


Users browsing this thread: 3 Guest(s)