Fixed some include bugs
Fixed adminslots not showing right slots on connect Fixed RTEs on wrong team
This commit is contained in:
@ -509,6 +509,9 @@ public cmdMenu(id,level,cid){
|
||||
}
|
||||
|
||||
checkRest(id,menu,key){
|
||||
new team = get_user_team(id)
|
||||
if (team != 1 && team != 2)
|
||||
return PLUGIN_HANDLED
|
||||
if ( g_blockPos[ (menu * 8 + key) + (get_user_team(id) - 1) * 56 ] ){
|
||||
engclient_cmd(id,"menuselect","10")
|
||||
client_print(id,print_center, g_Restricted )
|
||||
@ -659,4 +662,4 @@ public plugin_init() {
|
||||
format(g_saveFile,63,"%s/weaprest.ini",configsDir)
|
||||
#endif
|
||||
loadSettings(g_saveFile)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user