10.09.2008, 10:14
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 .