SA-MP Forums Archive
Help with 0.3c - 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: Help with 0.3c (/showthread.php?tid=194985)



Help with 0.3c - traxrex - 01.12.2010

How to make Manual Lights On And Off with the Key L


Re: Help with 0.3c - Flyfishes - 01.12.2010

Cant use the key L


Re: Help with 0.3c - traxrex - 01.12.2010

manual lights with /light command?


Re: Help with 0.3c - scottyishere - 01.12.2010

Quote:
Originally Posted by traxrex
Посмотреть сообщение
How to make Manual Lights On And Off with the Key L
Quote:
Originally Posted by Flyfishes
Посмотреть сообщение
Cant use the key L
Sure would be nice..


Re: Help with 0.3c - [MWR]Blood - 01.12.2010

You only can use default SA:MP keys.
pawn Код:
#define VEHICLE_PARAMS_UNSET    -1
#define VEHICLE_PARAMS_OFF  0
#define VEHICLE_PARAMS_ON   1

native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);