[Include] [INC] t-Auto Gates
#1

t-AutoGates by Toad
<> Script Type <>

- Include

<> Description <>

- With this include, you can create automatic gates with only one line in your script.

<> Installation <>

- Download the "t-Auto Gates.inc".
- Copy it in your /pawno/include folder.
- Open your gamemode and copy this line under "#include <a_samp>": "#include <t-Auto Gates>".

<> Commands & Function <>

- There is only one function you can use of this include:

> AddAutoGate(modelid,Float:cX,Float:cY,Float:cZ,Flo at:rX,Float:rY,Float:rZ,FloatX,FloatY,FloatZ ,namecanenter[24],open_distance)

modelid - objectid
cX - closedgate X coord
cY - closedgate Y coord
cZ - closedgate Z coord
rX - rotation X coord
rY - rotation Y coord
rZ - rotation Z coord
oX - opengate X coord
oY - opengate Y coord
oZ - opengate Z coord
namecanenter - Full or Part of the PlayerName of the Player/Clan that can enter
open_distance - radius, in which a player has to be that the gate opens

<> Example <>

- In front of the LVPD:
- AddAutoGate(980,2237.3050,2453.2110,11.421,0.0,0.0 ,90.00,2237.3050,2453.2110,1.421,"[MYCLAN]",50);

<> Download <>

-

Leave comments, please .
Reply


Messages In This Thread
[INC] t-Auto Gates - by Toad - 10.09.2008, 10:14
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Mr_Noob - 10.09.2008, 10:42
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 10.09.2008, 10:52
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by chesh - 10.09.2008, 11:08
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Castle - 10.09.2008, 14:11
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Sr.Rafa - 11.09.2008, 02:15
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Donuts - 11.09.2008, 05:45
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 11.09.2008, 12:27
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Unvisible11 - 12.09.2008, 09:51
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 12.09.2008, 11:16
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Unvisible11 - 12.09.2008, 11:28
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 12.09.2008, 17:08
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Castle - 12.09.2008, 17:18
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 09:52
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 10:59
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 11:10
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 11:23
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 11:45
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by ғαιιοцт - 13.09.2008, 12:00
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 13:25
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 15:07
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 15:23
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 15:38
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 15:44
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Martinss - 13.09.2008, 16:17
Re: [INC] Automatic Gates by Toad (1 line - 1 gate) - by Toad - 13.09.2008, 17:04
Re: [INC] t-Auto Gates - by T4vY - 04.08.2010, 09:08
Re: [INC] t-Auto Gates - by Ash. - 04.08.2010, 10:19
Re: [INC] t-Auto Gates - by T4vY - 04.08.2010, 11:14
Re: [INC] t-Auto Gates - by Ehab1911 - 04.08.2010, 19:06
Re: [INC] t-Auto Gates - by DJRebis - 09.07.2013, 16:26
Re: [INC] t-Auto Gates - by Soldatu132 - 13.04.2014, 09:01

Forum Jump:


Users browsing this thread: 1 Guest(s)