[Include] g_cars - Control the windows and doors
#1

Welcome!
Original post: http://forum.sa-mp.com/showthread.ph...28#post3487328 (Im from Spanish Section)

This include can control the doors and windows, only works in 0.3.7


Functions


- WindowOpen(vehicleid, window)

(Window 0-3) "true" if is open and "false" if is closed


- DoorOpen(vehicleid, door)

(Door 0-3) "true" if is open and "false" if is closed


- UpdateWindow(vehicleid, window)

(Window0-3) It does not return a specific value


- UpdateDoor(vehicleid, door)

(Door0-3) It does not return a specific value





CALLBACKS


- IfWindowIsOpen(vehicleid, window);

Check if the car has a open window


- IfWindowIsClosed(vehicleid, window);

Check if the car has a closed window


- IfDoorIsOpen(vehicleid, door);

Check if the car has a open door


- IfDoorIsClosed(vehicleid, door);

Check if the car has a closed door

Download and installation


For install this include you only have to put the include in "pawno/include".

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)