help please
#1

{
new vid = GetPlayerVehicleID(playerid);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,a larm,doors,bonnet,boot,objective);
SendClientMessage(playerid, 0xFF00CC, "Use /ste to start the vehicle engine.");
return 1;
}

: error 017: undefined symbol "lights"
:/
Reply
#2

You didn't define "lights". Nor did you define alarm, doors, bonnet, boot, or objective.

Just put: new lights, alarm, doors, bonnet, boot, objective;
Reply
#3

Why do you people just Copy something from another script, and paste it in yours, I'm afraid there's something called Defines and Variables, which the script you're stripping from it has, and yours doesn't.
Reply
#4

pawn Код:
new vid,engine,lights,alarm,doors,bonnet,boot,objective;
vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
SendClientMessage(playerid, 0xFF00CC, "Use /ste to start the vehicle engine.");
Reply
#5

guyz im beginner...
Reply
#6

warning 217: loose indentation
at this line
new vid = GetPlayerVehicleID(playerid);
Reply
#7

lol i found it was a lil bit right from the other lines...anyways thanks...xD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)