[Help] Another blonde moment.
#1

Okay, i'm creating a menu to spawn a police cruiser for LSPD.. i got everything sorted such has the menu and ectera..
But i can't seem to know where to put the selected car ID, if you'd like the code just ask please.

- Thanks in advanced.
Reply
#2

Code please. Don't quite get what you're asking for btw..
Reply
#3

You'll see -

pawn Код:
if (CurrentMenu = lspdmenu)
    {
        switch(row)
        {
            case 0;
            {
                GetPlayerPos(playerid, plocx, plocy, plocz);
                SetVehiclePos(plo,plocx,plocy+4, plocz);
                SendClientMessage(playerid, COLOR_GREY, "An Officer has just brought a cruiser around for you, have a good patrol sir.");
    }
I don't quite know where to get a pacific car id to spawn.
Reply
#4

Use CreateVehicle.
Reply
#5

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Use CreateVehicle.
Lol i got pwnt, i never thought of that.. Thanks.
Reply
#6

No problem :]

[This forum requires that you wait 120 seconds between posts. Please try again in 58 seconds.] ...
Reply
#7

EDIT: Never mind, sorry.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)