[Ajuda] Sistema pedagio
#9

Quote:
Originally Posted by Metropole RP
Посмотреть сообщение
Tenta ae
pawn Код:
if(IsPlayerInAnyVehicle(playerid))
{
    if(CPS_IsPlayerInCheckpoint(playerid, checkpedagio))
    {
        ShowPlayerDialog(playerid, DIALOGID+17, DIALOG_STYLE_MSGBOX, "Pedagio", "Bem vindo ao pedagio, deseja passar?", "Sim", "Nгo");
    }
    else if(CPS_IsPlayerInCheckpoint(playerid, checkpedagio2))
    {
        ShowPlayerDialog(playerid, DIALOGID+18, DIALOG_STYLE_MSGBOX, "Pedagio", string, "Sim", "Nгo");
    }
}

if(dialogid == DIALOGID+17)
{
    if(response)
    {
        SetVehiclePos(vehicleid,50.4686,-1524.8268,5.0681);
    }
    else
    {
        SetVehiclePos(vehicleid,67.2928,-1527.2106,4.8696);
    }
}
else if(dialogid == DIALOGID+18)
{
    if(response)
    {
        SetVehiclePos(vehicleid,63.1642,-1540.7421,5.0588);
    }
    else
    {
        SetVehiclePos(vehicleid,52.5437,-1537.2518,5.1314);
    }
}
Mesma coisa.
Reply


Messages In This Thread
Sistema pedagio - by netogba - 09.10.2012, 21:07
Re: Sistema pedagio - by humildadeforever - 09.10.2012, 21:10
Re: Sistema pedagio - by netogba - 09.10.2012, 21:12
Re: Sistema pedagio - by humildadeforever - 09.10.2012, 21:14
Re: Sistema pedagio - by Metropole RP - 09.10.2012, 21:14
Re: Sistema pedagio - by netogba - 09.10.2012, 21:18
Re: Sistema pedagio - by humildadeforever - 09.10.2012, 21:20
Re: Sistema pedagio - by netogba - 09.10.2012, 21:25
Re: Sistema pedagio - by netogba - 09.10.2012, 21:30
Re: Sistema pedagio - by Metropole RP - 09.10.2012, 21:46

Forum Jump:


Users browsing this thread: 2 Guest(s)