| AlinutZzZ a întrebat:

TPU nu stiu de categorie dar am nevoie disperata cum fac ca in pluginul acesta sa aiba doar Owner si Fondator acces restul gradelor nu?

PLUGINU:

/* AMX Mod script.
*
* (c) Copyright 2002-2003, f117bomb
* This file is provided as is (no warranties).
*/

#include
#include
#include

/*
* Usage: amx_godmode
* Examples:
* amx_godmode @CT 1 - Sets Godmode on Counter-Terrorists
* amx_godmode @CT 0 - Removes Godmode on Counter-Terrorists
*/

public admin_godmode(id,level,cid) {
if (! cmd_access(id,level, cid, 3))
return PLUGIN_HANDLED
new arg[32], arg2[8], name2[32]
read_argv(1, arg, 31)
read_argv(2, arg2, 7)
get_user_name(id, name2, 31)
if (arg[0]=='@'){
new players[32], inum
get_players(players, inum,"ae", arg[1])
if (inum==0){
console_print(id,"No clients in such team")
return PLUGIN_HANDLED
}
for(new a=0; a

2 răspunsuri:
| Flaviucu a răspuns:

Il faci din fisierul config.cfg

| AlinutZzZ explică (pentru Flaviucu):

Cum mai exact?