Automatic Gates On Foot
#1

Is it possible to make automatic gates that only opens to admins that are on foot or in a vehicle?
Reply
#2

Yes it is Possible.
Reply
#3

Can you lead me in the right direction?
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)