CSPLague
model engelleme - Printable Version

+- CSPLague (https://www.csplague.com)
+-- Forum: CS 1.6 Plugin (Eklenti) Bölümü (https://www.csplague.com/forumdisplay.php?fid=6)
+--- Forum: [İSTEK] Cs 1.6 Plugin İstek Bölümü (https://www.csplague.com/forumdisplay.php?fid=80)
+---- Forum: Çözülmüş İstekler (https://www.csplague.com/forumdisplay.php?fid=87)
+---- Thread: model engelleme (/showthread.php?tid=9468)



model engelleme - Iwantoplaygame - 29-01-14

arkadaşlar son aylarda artık sxeden model gecmeye basladı ve bunu serverımda engellemek ıstıyorum ve bunun ıcın model acanların saydan modelın engellemistir yazısını gorup modelının olmaması gıbı bır sansımız varmı ?


Cevap: model engelleme - Iwantoplaygame - 31-01-14

+++++++++++++++++++++


Cevap: model engelleme - akcaliberkk - 31-01-14

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "Cheap_Suit"

#define fm_get_user_model(%1,%2,%3) engfunc(EngFunc_InfoKeyValue, engfunc(EngFunc_GetInfoKeyBuffer, %1), "model", %2, %3) 

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_SetClientKeyValue"fwd_setclientkeyvalue")
}
public 
fwd_setclientkeyvalue(idinfobuffer, const key[]) {
    
    if(!
equal(key"model")) return FMRES_IGNORED
    
    
static model[32]
    
fm_get_user_model(idmodel31)
    
    if(
equal(model"gordon")) return FMRES_IGNORED
    
    
return FMRES_SUPERCEDE


emin değilim ama bir dene


Cevap: model engelleme - JDM - 05-02-14

Çözülmüş İsteklere Taşındı.