20.08.2015, 14:50
Well, make an openable get first. If you don't know how to, there are plenty of tutorials around.
Then check under the opening script if the player that is near the gate (or uses the cmd to open) has an admin level of 4, then open the gate. Example;
Then check under the opening script if the player that is near the gate (or uses the cmd to open) has an admin level of 4, then open the gate. Example;
PHP код:
if (g_PlayerInfo[playerid][pAdminLevel] >= 4)
{
// Open the gate here
}