engine problem?
#1

i got some errors for some reason
Код:
D:\Users\Tanush\Desktop\SA-MP SERVERS\SA-MP Server Stunt\gamemodes\server.pwn(3898) : error 035: argument type mismatch (argument 2)
D:\Users\Tanush\Desktop\SA-MP SERVERS\SA-MP Server Stunt\gamemodes\server.pwn(3903) : error 017: undefined symbol "lights"
D:\Users\Tanush\Desktop\SA-MP SERVERS\SA-MP Server Stunt\gamemodes\server.pwn(3909) : error 017: undefined symbol "lights"
3898:
pawn Код:
GetVehicleParamsEx(vid, engine, lights, alarm, doors, boonet, boot, objective);
3903:
pawn Код:
SetVehicleParamsEx(vid,true,lights,alarm,doors,boonet,boot,objective);
3909:
pawn Код:
SetVehicleParamsEx(vid,false,lights,alarm,doors,boonet,boot,objective);
i have 0.3d
Reply
#2

pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective, vid = GetPlayerVehicleID(playerid);
GetVehicleParamsEx(vid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vid, 0, lights, alarm, doors, bonnet, boot, objective);
Reply
#3

oh wow how i forgot that, thanks.. repped for fast response
Reply
#4

Thanks Tanush123 and your welcome!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)