Vehicle menu doesn't work.
#1

I made a menu to CreateVehicle at the player's x+5,y,z+1,angle(from GetPlayerFacingAngle), and the menu shows up (I made a /v command for it) but when I select a vehicle nothing happens. I can upload my script if needed.
Reply
#2

Yeah post it here.
Reply
#3

See attachments
Reply
#4

Well, i cant test it, but someone asked this before too.

pawn Code:
if(Current == vehiclemenu)
    {
    switch(row)
        {
            case 0: { /* Yours in here!!*/ }
            case 1: { /* and here */}
            case 2: { }
            case 3: { }
            case 4: { }
        }
        return 1;
    }
You can put your cases in these. BUT remember: ONLY 12 cases are possible!! (case0-case11) So remove your last 2 cases!!
IF you cant do it for tomorrow, I will try to make it for you on another PC where I can try it.

Inform me then.
Reply
#5

Max cases of 12? :/

Also, would the fact that I set the respawn delay to 0 have anything to do with it?

And why couldn't you test it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)