| 				
					| Offline |  
					|  |  
					|  |  Csatlakozott:2016.05.28. 18:14
 Hozzászólások:34
 Megköszönték neki: 1 alkalommal
 | 
				
					| LabelFlash írta: Ni[T]r0 írta: Sziasztok!Olyan plugint keresek, hogy:
 
 Veszel pl. egy AK47-et. Alapvetően a tárba 30 golyó van. És ha elkezdessz lőni akkor nem fogy.
 Vagyis annyit lőhetsz amennyit akarsz és nem kell R betűt nyomj ,hogy cseréljen, hanem folyamatosan lő úgy, hogy nemfogy a golyó a tárból.
 
 Előre is köszi.
 #include <amxmodx>#include <amxmisc>#include <cstrike>#include <fakemeta> #define find_ent_by_class(%1,%2) engfunc(EngFunc_FindEntityByString, %1, "classname", %2) new ne_uammo_enablenew CSW_MAXAMMO[33]={    -2,    52,    0,    90,    1,    32,    1,    100,    90,    1,    120,    100,    100,    90,    90,    90,    100,    120,    30,    120,    200,    32,    90,    120,    90,    2,    35,    90,    90,    0,    100,    -1,    -1} public plugin_init(){    register_plugin("New-Era_UnlimitedAmmo", NE_UA_VERSION, "New-Era Scripting Team")    register_cvar("ne_uammo_version", NE_UA_VERSION, FCVAR_SPONLY)     ne_uammo_enable        =    register_cvar("ne_uammo_enable", "1")     register_event("CurWeapon", "event_curweapon", "be", "1=1")    register_clcmd("ne_uammo", "command_ne_uammo", _, "Dispays information about New-Era_UnlimitedAmmo")} public event_curweapon(id){    if(!get_pcvar_num(ne_uammo_enable) || !is_user_alive(id))        return 0     new weaponID = read_data(2)    if(weaponID == CSW_C4 || weaponID == CSW_KNIFE || weaponID == CSW_HEGRENADE || weaponID == CSW_SMOKEGRENADE || weaponID == CSW_FLASHBANG)        return PLUGIN_CONTINUE;        cs_set_user_bpammo(id, weaponID, CSW_MAXAMMO[weaponID])        return 0} public command_ne_uammo(id, level, clientId){    client_print(id, print_console, " ")    client_print(id, print_console, "+-----|  About New-Era_UnlimitedAmmo  |-----+")    client_print(id, print_console, "| ")    client_print(id, print_console, "| New-Era_UnlimitedAmmo %s", NE_UA_VERSION)    client_print(id, print_console, "| ")    client_print(id, print_console, "| Coded by New-Era Scripting Team members:")    client_print(id, print_console, "|     Alican Cubukcuoglu (AKA AlicanC and Shaman)")    client_print(id, print_console, "| ")    client_print(id, print_console, "| You can reach us from Steam Community group ^"#n.E Scripting Team^"")    client_print(id, print_console, "| ")    client_print(id, print_console, "+-----+")    client_print(id, print_console, " ")        return 1}
TessékWelcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team Error: Undefined symbol "NE_UA_VERSION" on line 49 Warning: Expression has no effect on line 49 Error: Expected token: ";", but found ")" on line 49 Error: Invalid expression, assumed zero on line 49 Error: Too many error messages on one line on line 49 Compilation aborted. 4 Errors. Could not locate output file c:\Documents and Settings\asd\Dokumentumok\valami (1).amx (compile failed).
 
 |  |