car control error =l
#1

why does the scrip say:

Код:
C:\Users\mattt\Desktop\ARRP\gamemodes\arrp.pwn(727) : error 017: undefined symbol "lights"
C:\Users\mattt\Desktop\ARRP\gamemodes\arrp.pwn(728) : error 017: undefined symbol "lights"
For this :

Код:
GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
i dont get it =(
Reply
#2

You need to create a integer with the name of 'lights', you can do so with the following code:

pawn Код:
// Place this code above the functions you pasted
new lights;
You get the 'undefined symbol' error because it couldn't find a variable with the name of 'lights' in the scope of where your functions were being used.
Reply
#3

Alright cheers
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)