Skip to content

Gates: command reference ​

All command areas · Generated from maintained Pawn source. See staff permissions for rank values.

Commands in this area ​

/copygate · /door · /gate · /gateautoclose · /gateautoopen · /gateclone · /gatecreate · /gatedelete · /gatefaction · /gategoto · /gateint · /gatemove · /gatenear · /gateopen · /gateradius · /gatespeed · /gatestyle · /gatetexture · /gatetoll · /gatetome · /gatetype · /gateworld · /policetolls · /toll · /tolls

/copygate ​

/copygate [gate] - (admin) duplicates a gate with all its settings.

Source: gamemodes/gates/cmds.pwn:705.

Messages / syntax taken from the handler:

text
/copygate [gateid]
* [GATE] No free enum IDs left - /copygate failed.

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/door ​

Alias of /gate.

############################################################# //

Source: gamemodes/gates/header.pwn:170.

/gate ​

/gate - opens or closes the nearest gate if you have access (also takes toll fees).

Source: gamemodes/gates/header.pwn:182.

Staff constants referenced: ADMIN_LVL_GENERAL, ADMIN_LVL_JUNIOR. These are not a complete access rule; check the condition and any called helper.

/gateautoclose ​

/gateautoclose [gate] [0/1] - (admin) makes a gate close itself again.

Source: gamemodes/gates/cmds.pwn:131.

Messages / syntax taken from the handler:

text
/gateautoclose [gateid] [0: no, 1: yes]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateautoopen ​

/gateautoopen [gate] [0/1] - (admin) makes a gate open automatically for allowed vehicles.

Source: gamemodes/gates/cmds.pwn:171.

Messages / syntax taken from the handler:

text
/gateautoopen [gateid] [0: no, 1: yes]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateclone ​

Instant duplicate of a gate (all settings, textures, extra faction access) at the same position. Adjust the new gate afterwards with /gatemove and /gateopen.

Source: gamemodes/gates/cmds.pwn:789.

Messages / syntax taken from the handler:

text
/gateclone [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatecreate ​

/gatecreate [modelid] - (admin) creates a gate with the given object model at your position.

Source: gamemodes/gates/cmds.pwn:11.

Messages / syntax taken from the handler:

text
/gatecreate [modelid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatedelete ​

/gatedelete [gate] - (admin) deletes a gate.

Source: gamemodes/gates/header.pwn:60.

Messages / syntax taken from the handler:

text
/gatedelete [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatefaction ​

/gatefaction [add/remove] [gate] [faction] - (admin) allows or removes a faction's access to a gate.

Source: gamemodes/gates/cmds.pwn:605.

Messages / syntax taken from the handler:

text
/gatefaction [add/remove] [gateid] [faction SQL id]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gategoto ​

/gategoto [gate] - (admin) teleports to a gate.

Source: gamemodes/gates/cmds.pwn:975.

Messages / syntax taken from the handler:

text
/gategoto [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateint ​

/gateint [gate] [interior] - (admin) sets a gate's interior.

Source: gamemodes/gates/cmds.pwn:516.

Messages / syntax taken from the handler:

text
/gateint [gateid] [interior]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatemove ​

/gatemove [gate] - (admin) moves the gate's closed or open position with the object editor.

Source: gamemodes/gates/cmds.pwn:287.

Messages / syntax taken from the handler:

text
/gatemove [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatenear ​

/gatenear - (admin) lists gates near you.

Source: gamemodes/gates/cmds.pwn:371.

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateopen ​

/gateopen [gate] - (admin) opens or closes a gate for testing.

Source: gamemodes/gates/cmds.pwn:252.

Messages / syntax taken from the handler:

text
/gateopen [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateradius ​

/gateradius [gate] [radius] - (admin) sets how close you need to be to use a gate.

Source: gamemodes/gates/cmds.pwn:211.

Messages / syntax taken from the handler:

text
/gateradius [gateid] [radius]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatespeed ​

/gatespeed [gate] [speed] - (admin) sets how fast a gate moves.

Source: gamemodes/gates/header.pwn:128.

Messages / syntax taken from the handler:

text
/gatespeed [gateid] [speed (in miliseconds, i.e. "0.75")]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatestyle ​

Temp command for nich's sd gates

Source: gamemodes/gates/cmds.pwn:64.

Messages / syntax taken from the handler:

text
/gatestyle [gateid] [1: nich sd gate]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatetexture ​

/gatetexture [gate] [slot] [model] [txd] [texture] - (admin) retextures a gate.

Source: gamemodes/gates/cmds.pwn:407.

Staff constants referenced: ADMIN_LVL_SENIOR. These are not a complete access rule; check the condition and any called helper.

/gatetoll ​

/gatetoll [gate] [0/1] - (admin) marks a gate as a toll gate.

Source: gamemodes/gates/cmds.pwn:90.

Messages / syntax taken from the handler:

text
/gatetoll [gateid] [0: no, 1: yes]

Staff constants referenced: ADMIN_LVL_SENIOR. These are not a complete access rule; check the condition and any called helper.

/gatetome ​

/gatetome [gate] - (admin) moves a gate to your position.

Source: gamemodes/gates/cmds.pwn:329.

Messages / syntax taken from the handler:

text
/gatetome [gateid]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gatetype ​

/gatetype [gate] [type] [owner] - (admin) sets who can use a gate (public, player, faction...).

Source: gamemodes/gates/cmds.pwn:562.

Messages / syntax taken from the handler:

text
/gatetype [gateid] [type] [owner]

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/gateworld ​

/gateworld [gate] [world] - (admin) sets a gate's virtual world.

Source: gamemodes/gates/cmds.pwn:470.

Staff constants referenced: ADMIN_LVL_GENERAL. These are not a complete access rule; check the condition and any called helper.

/policetolls ​

/policetolls - law enforcement can lock the toll gates for a time during a pursuit.

Source: gamemodes/gates/tolls.pwn:37.

/toll ​

Alias of /gate.

Source: gamemodes/gates/header.pwn:175.

/tolls ​

Alias of /policetolls.

Source: gamemodes/gates/tolls.pwn:67.

Open-source roleplay foundations for open.mp. Bring your own world.