Help with vehicle system
#1

I've created my first vehicle system by following a tutorial in the tutorial section, it should work fine but... it doesnt.
So, i will paste my code in a pastebin and... i hope you guys could help me. їYeah? Ty!

CODE HERE

Ive pasted the whole code, so you can just go trough into the error lines and see what the fuck is happening there.

ERRORS:
Код:
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(74) : warning 203: symbol is never used: "vehicleID"
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(101) : warning 202: number of arguments does not match definition
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(103) : error 017: undefined symbol "VehicleLock"
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(117 -- 118) : error 047: array sizes do not match, or destination array is too small
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(128) : error 029: invalid expression, assumed zero
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(128) : error 035: argument type mismatch (argument 1)
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(128) : error 001: expected token: ";", but found "return"
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(128) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#2

Define VehLock by new VehLock; and show the line 128 delete new vehicleID;
Reply
#3

Oooookey. I've modified lots of code and i think its quite better, but im not sure xD
Im just starting with pawn, i do what i can!

MY CODE UPDTATED

Only one error now (ignore the warning).

Код:
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(77) : warning 203: symbol is never used: "vehicleID"
C:\Users\Quique\Desktop\Alberto ++\MyServer\gamemodes\MyGM.pwn(205) : error 017: undefined symbol "INI_Int"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If my way is not the good one, please notify me.
Thank you very much for your answer.
Reply
#4

Call me blind, but i cant find the fix to this error in your previous post.
Thank you again.

Edit: Is not the same undefined symbol than before. Is a new one that just popped out.
Reply
#5

Fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)