amx_addadmin added
This commit is contained in:
parent
996f461157
commit
48749382fb
|
@ -119,7 +119,7 @@ public addadminfn(id, level, cid) {
|
||||||
|
|
||||||
new arg[33]
|
new arg[33]
|
||||||
read_argv(1, arg, 32)
|
read_argv(1, arg, 32)
|
||||||
new player = cmd_target(id, arg, 2) // 2 = allow yourself (remove later?) 8 = no bots
|
new player = cmd_target(id, arg, 10) // 2 = allow yourself (remove later?) 8 = no bots
|
||||||
if (!player)
|
if (!player)
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
|
|
||||||
|
@ -170,7 +170,6 @@ AddAdmin(id, steamid[], accessflags[], password[]) {
|
||||||
console_print(id, "[%s] %s already exists!", PLUGINNAME, steamid)
|
console_print(id, "[%s] %s already exists!", PLUGINNAME, steamid)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
//console_print(id, "Found: %s, %s, %s, %s", line_steamid, line_password, line_accessflags, line_flags)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If we came here, steamid doesn't exist in users.ini. Add it.
|
// If we came here, steamid doesn't exist in users.ini. Add it.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user