#1 11-06-2014 18:44

Registered: 11-06-2014
Posts: 1

How can I get light car status (On/Off) and current time (hours)

Hi, I'm trying to write a CLEO script  for use in SAMP that inform you if hour is equal with  20 then you need to enable light. I'm getting problem with Front light of car because I don't want to show the message if car have already lights turned on, so I need to check before if light's are enabled. How can I do this ? It's any opcode that do this ?
The second problem is when I want to get current  time (hour)  ...

I use this but it fail.... :

00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
then .......

If anyone know how to resolve this problems  please leave a  replay.


Board footer

Powered by FluxBB