Automatic Gates On Foot - 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: Automatic Gates On Foot (
/showthread.php?tid=175788)
Automatic Gates On Foot -
Th3Angel - 11.09.2010
Is it possible to make automatic gates that only opens to admins that are on foot or in a vehicle?
Re: Automatic Gates On Foot -
[UG]Scripter - 11.09.2010
Yes it is Possible.
Re: Automatic Gates On Foot -
Th3Angel - 11.09.2010
Can you lead me in the right direction?
Re: Automatic Gates On Foot -
willsuckformoney - 11.09.2010
pawn Код:
if(IsPlayerAdmin(playerid))
{
if(IsPlayerInAnyVehicle(playerid) == false)
{
//Post your codes....
return 1;
}
return 1;
}
return 1;
There you go, a start, more likely the return 1;'s i have there not all may be needed.