SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
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
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Windows Phone 8.1] Random Doors Edvin Everything and Nothing 10 25/03/2015 02:26 PM
Car doors, windows, tires Dr Scripting Help 11 11/09/2011 10:25 PM
[Tool/Web/Other] [PHP]Leandro Control Panel Windows v1 - English LeeandRo Tools and Files 23 15/07/2010 05:31 AM


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.