Jump to content

Search the Community

Showing results for tags 'bat.amxx'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • INFORMATII GENERALE
    • Anunturi si Informatii Generale - Comunitatea Rangfort
    • Server Management
    • Member management
  • GAMING - Servere publice
    • TeamSpeak 3
    • COUNTER-STRIKE 1.6
    • Counter Strike CS2
  • GAMING - Mixuri, cupe, competitii,clanuri
  • SUPORT TEHNIC
    • ZONA IT
    • AMX MOD X
    • DESIGN
  • TIMP LIBER - DIVERSE
    • GAMING
    • STEAM
    • SOCIAL
    • Magazin online
    • International Forum

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Steam


Skype:


E-mail


City:


Interests


Age

Between and

Steam ID

Found 3 results

  1. Description: Cu acest plugin la connectarea la server, se va adauga o palarie random. Version: 1.0 Download: Click #include amxmodx.inc#include fakemeta.inc native remove_entity(ent); new const hat[][]={ "models/hat0.mdl", "models/hat1.mdl", "models/hat2.mdl", "models/hat3.mdl", "models/hat4.mdl", "models/hat5.mdl", "models/hat6.mdl", "models/hat7.mdl", "models/hat8.mdl", "models/hat9.mdl"} new UserEnt[33] = -1 public plugin_precache() for(new i = 0; i < sizeof(hat); i++) precache_model(hat[i])public client_putinserver(id){new model[64]new infotarget = engfunc(EngFunc_AllocString, "info_target")new Entity = engfunc(EngFunc_CreateNamedEntity, infotarget) Entity = engfunc(EngFunc_CreateNamedEntity, infotarget)format(model, charsmax(model), "%s", hat[random_num(0,9)]) if(pev_valid(Entity)){engfunc(EngFunc_SetModel, Entity, model)set_pev(Entity, pev_movetype, MOVETYPE_FOLLOW)set_pev(Entity, pev_aiment, id)set_pev(Entity, pev_owner, id) UserEnt[id] = Entity}} public client_disconnect(id) if(UserEnt[id] != -1 && pev_valid(UserEnt[id])){remove_entity(UserEnt[id])UserEnt[id] = -1}
  2. Descriere: La connectarea la server, se va auzi sunete din half-life. Update: 1.0 (Static) #include amxmodxnew sounds[] = {12,13,14} /*Half-Life12.mp3,Half-Life13.mp3,Half-Life14.mp3*/public client_connect(id){ client_cmd(id, "mp3volume 0.25;") client_cmd(id, "mp3 play media/Half-Life%d.mp3", sounds[random_num(0,2)])}
  3. Descriere: Un plugin care va arata statistica dvs pe server. Update 1.0 #include amxmodx #include csstats new name[32] const SHOW_TYPE = 1 // 1 - Show Hud | 2 - Show Chat new const typecmd [][] = { "say /rank", "say rank" } public plugin_init() { for(new cmd = 0; cmd < sizeof typecmd; cmd++) { register_clcmd(typecmd[cmd], "cmdrank") } } public cmdrank(Player) { static stats[8], body[8] static Deaths = 0, Kills = 0, Float:Ratio = 0.0 new position = get_user_stats(Player, stats, body) new totalposition = get_statsnum() get_user_name(Player, name, charsmax(name)) Deaths = stats[1] Kills = stats[0] Ratio = Deaths == 0 ? (float(Kills)) : (float(Kills) / float(Deaths)) switch(SHOW_TYPE) { case 1: // Hud { set_hudmessage(42, 255, 42, 0.27, 0.83, 1, 0.0, 3.0, 2.0, 1.0, -1) ShowSyncHudMsg(Player, CreateHudSyncObj(), "%s You have rank %d/%d^nKills: %d Deaths: %d^nKPD: %.2f", name, totalposition, position, stats[0], stats[1], Ratio) } case 2: // Chat { client_print(Player, print_chat, "%s You have rank %d/%d. With Kills: %d Deaths: %d KPD: %.2f", name, totalposition, position, stats[0], stats[1], Ratio) } } }
×
×
  • Create New...