[HELP] Dialogs
#2

So

pawn Код:
new controlzone;

public OnGameModeInit()
{
    controlzone = CreatePickup(1239, 1, 1575.5729,-1695.7874,6.2188, 9.0);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == controlzone)
    {
        ShowPlayerDialog(playerid, DIALOG_GARAGE, DIALOG_STYLE_LIST, "LSPD Garage", "LSPD Cruiser\nLSPD Ranger\nLSPD Bike\nLSPD Enforcer\nLSPD Armoured Car\nS.W.A.T Van (Water Car)", "Select", "Close");
        SetPlayerPos(playerid, 1554.9005,-1695.8322,6.2188);
    }
    return 1;
}
Additional: https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
Reply


Messages In This Thread
[HELP] Dialogs - by Ciarannn - 02.08.2014, 21:37
Respuesta: [HELP] Dialogs - by Zume - 02.08.2014, 21:49
Re : [HELP] Dialogs - by Lexus95 - 02.08.2014, 22:01
Re: [HELP] Dialogs - by Ciarannn - 02.08.2014, 22:58

Forum Jump:


Users browsing this thread: 2 Guest(s)