Sa Arkadaşlar Bana Yetki Harfine Bağlı Model Plugini Lazım Csdurağında Çalışırsa Gerçekten Güzel Olur Şimdiden Teşekkürler
Admin Model
)

#include <amxmodx>
#include <reapi>
public plugin_init() {
register_plugin("Admin_Ozel_Model", "1.0", "suriyelikene")
RegisterHookChain(RG_CBasePlayer_Spawn, "OyuncuDogunca", .post=true);
}
public plugin_precache(){
precache_model("models/player/admin/admin.mdl");
}
public OyuncuDogunca(id)
{
if(get_user_flags(id) & ADMIN_LEVEL_F){
rg_set_user_model(id,"admin");
}
}
#include <amxmodx>
#include <reapi>
new const admins[] = "models/player/admin.mdl";
public plugin_init() {
register_plugin("Admin_Ozel_Model", "1.0", "suriyelikene");
RegisterHookChain(RG_CBasePlayer_Spawn, "OyuncuDogunca", .post=true);
}
public plugin_precache(){
precache_model(admins);
}
public OyuncuDogunca(iP_ID)
{
if(get_user_flags(iP_ID) & ADMIN_LEVEL_F){
rg_set_user_model(iP_ID,admins);
}
else {
rg_reset_user_model(iP_ID);
}
}
AMX Mod X Compiler 1.10.0.5392
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team
vipmodel.sma(20) : error 030: compound statement not closed at the end of file
1 Error.
Could not locate output file vipmodel.amx (compile failed).(20-12-2020, 23:32)BeratPey Adlı Kullanıcıdan Alıntı:Kod:AMX Mod X Compiler 1.10.0.5392
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team
vipmodel.sma(20) : error 030: compound statement not closed at the end of file
1 Error.
Could not locate output file vipmodel.amx (compile failed).