View Single Post
Old 11/08/2015, 09:38 PM   #1
Goncho28
High-roller
 
Goncho28's Avatar
 
Join Date: Feb 2014
Location: Uruguay
Posts: 1,414
Reputation: 103
Default g_cars - Control the windows and doors

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".

__________________

Fuera de SA-MP
La comunidad está hecha una basura, esto ya no avanza, SA-MP está abandonado por sus propios dueños y no hay que quedarse estancado en el mismo lugar. No volveré a entrar al foro, si me quieren contactar mi Skype es goncho281, agradezco a esta comunidad por toda la gente que conocí y los casi 10 años que me dio de entretenimiento, alegrías y enojos.
Goncho28 is offline   Reply With Quote