SA-MP Forums Archive
Gates i read wiki and forums. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gates i read wiki and forums. (/showthread.php?tid=158462)



Gates i read wiki and forums. - airsoftglock - 10.07.2010

i need gate help can someone please make me a script whre all i have to do is fill it in like the XYZ and the commands i want commands not spacebar or auto open and i want it only to open to skin id 124


Re: Gates i read wiki and forums. - DJDhan - 10.07.2010

You say you have gone through the entire related wiki and the forum and still couldn't find it?

Use the following to make your gates:

1) CreateObject.
Код:
new gate = CreateObject(.........);
2) MoveObject
Put the name of the gate in place of the object id.
3) IsPlayerInRangeOfPoint

If a player is in range of the gate:

Код:
new skin = GetPlayerSkin(playerid);
if(skin != 124) return 0;

//rest of the code (moveobject)



Re: Gates i read wiki and forums. - airsoftglock - 10.07.2010

where to put it all can you please just make the script and let me fill it out please. thank you


Re: Gates i read wiki and forums. - airsoftglock - 10.07.2010

please just make it so i can fill it out


Re: Gates i read wiki and forums. - airsoftglock - 10.07.2010

bumping.


Re: Gates i read wiki and forums. - airsoftglock - 12.07.2010

again just please make me the script and tell me where to put it i am nub and all i want to have to do is fill it out


Re: Gates i read wiki and forums. - MikkelGutten - 12.07.2010

https://sampforum.blast.hk/showthread.php?tid=118885

PS: You didn't read the Wiki. Stop lying.