Carmenu (CarSpawner)
#9

Quote:
Originally Posted by bulgarianmaniacs
Посмотреть сообщение
Can someone edit a carmenu (carspawner) to this list:
Euros
Elegy
Sultan
Jester
Bullet
Infernus
Turismo

I have a drift server and current car spawners have bikes and planes and i don't like it.

THANK YOU !!
Test with this:
Код:
    #include <a_samp>
    public OnPlayerCommandText(playerid, cmdtext[])
    {
    if(!strcmp(cmdtext, "/carmenu"))
    {
    ShowPlayerDialog(playerid, 7, DIALOG_STYLE_LIST, "CarMenu", "Euros\nElegy\nSultan\nJester\nBullet\nInfernus\nTurismo", "Spawn", "Cancel");
    return 1;
    }
    return 0;
    }
    public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
    {
    if(dialogid == 7)
    {
    if(!response)
    return 1;
    switch(listitem)
    {
    case 0:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(587, , , 999999);
    }
    case 1:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(562, , , 999999);
    }
    case 2:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(560, , , 999999);
    }
    case 3:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(559, , , 999999);
    }
    case 4:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(541, , , 999999);
    }
    case 5:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(411, , , 999999);
    }
    case 6:
    {
    if(GetPlayerMoney(playerid) < 0)
    return SendClientMessage(playerid, 0, "- The prices is 0$ ! -");
    GivePlayerMoney(playerid, -0);
    CreateVehicle(451, , , 999999);
    }
    }
    }
    return 1;
    }
Reply


Messages In This Thread
Carmenu (CarSpawner) - by bulgarianmaniacs - 17.06.2011, 21:41
Re: Carmenu (CarSpawner) - by Calgon - 17.06.2011, 21:58
Re: Carmenu (CarSpawner) - by bulgarianmaniacs - 17.06.2011, 22:13
Re: Carmenu (CarSpawner) - by nickbouwhuis - 18.10.2012, 12:08
Re: Carmenu (CarSpawner) - by Roel - 18.10.2012, 12:13
Re: Carmenu (CarSpawner) - by mamorunl - 18.10.2012, 12:28
Re: Carmenu (CarSpawner) - by nickbouwhuis - 18.10.2012, 13:22
Re: Carmenu (CarSpawner) - by nickbouwhuis - 19.10.2012, 10:37
Re: Carmenu (CarSpawner) - by (SWE)Gold - 19.10.2012, 14:19
Re: Carmenu (CarSpawner) - by nickbouwhuis - 19.10.2012, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)