SA-MP Forums Archive
Vehicle Menu, Please help :( :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle Menu, Please help :( :( (/showthread.php?tid=97622)



Vehicle Menu, Please help :( :( - Stunterz - 15.09.2009

Hi, i have had this vehicle menu for eyges, but i cant compile it cause of errors i dont know how to fix, please can someone fix them, thanks, much aprecated ;P
Script: http://pastebin.com/f1cb761cb


Re: Vehicle Menu, Please help :( :( - dice7 - 15.09.2009

And what are the errors ?


Re: Vehicle Menu, Please help :( :( - Stunterz - 16.09.2009

C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1463) : error 002: only a single statement (or expression) can follow each "case"
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1463) : warning 215: expression has no effect
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1466) : warning 217: loose indentation
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1466) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1466) : error 004: function "OnPlayerExitedMenu" is not implemented
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1470) : warning 225: unreachable code
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1470) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1470) : error 017: undefined symbol "DestroyCar"
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1471) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1471) : error 017: undefined symbol "DestroyCar"
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1473) : error 017: undefined symbol "vehicleid"
C:\Documents and Settings\Cameron Banfield\Desktop\Supreme Stunting V0.5\filterscripts\Need to fix\menu.pwn(1476) : error 030: compound statement not closed at the end of file (started at line 997)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Errors.



Re: Vehicle Menu, Please help :( :( - Jakku - 16.09.2009

It is DestroyVehicle, not DestroyCar

EDIT: Sorry, you have it defined, no problem


Re: Vehicle Menu, Please help :( :( - Djiango - 16.09.2009

You seem to have missed a lot of braces, in the "OnPlayerSelectedMenuRow(playerid, row)" callback.
I had some time today, so I fixed it for you.
http://pastebin.com/mb267549
I hope it works, as I didn't test it. But it compiles fine now.


Re: Vehicle Menu, Please help :( :( - Stunterz - 16.09.2009

Quote:
Originally Posted by |∞|-Рцппσĵσ-|∞|
You seem to have missed a lot of braces, in the "OnPlayerSelectedMenuRow(playerid, row)" callback.
I had some time today, so I fixed it for you.
http://pastebin.com/mb267549
I hope it works, as I didn't test it. But it compiles fine now.
OMG MAN... your the best, ty


Re: Vehicle Menu, Please help :( :( - Stunterz - 16.09.2009

Hi, i got another problem, if someone elce spawns a vehicle, the other players vehicles get taken off them
pls help


Re: Vehicle Menu, Please help :( :( - Stunterz - 17.09.2009

Anyone?


Re: Vehicle Menu, Please help :( :( - Stunterz - 19.09.2009

Anyone?
Please please please :<


Re: Vehicle Menu, Please help :( :( - darkhuman - 20.09.2009

i'll will take a look at this tomorow.
ut in wich gamemode do you use it ?