Mensajes: 51
Temas: 29
Registro en: Mar 2018
Reputación:
0
Buenas alguien me ayuda ami y mis amigos nos gusta el surf y siempre jugamos pero alguien sabe como ponerle level y armas y si lo tiene me puede pasar todo igual que el de abre jaulas no se lo e buscado pero no lo consigo se que en Youtube hay videos de el mod de surf pero no sale con abre jaula alguien me ayuda ¿?
Mensajes: 586
Temas: 15
Registro en: Jul 2017
Reputación:
6
03/05/2018, 01:00 PM
(Última modificación: 03/05/2018, 01:44 PM por Pablo_1998.)
Mensajes: 51
Temas: 29
Registro en: Mar 2018
Reputación:
0
No men ese no funciona ya lo probe nada mas sale es el plugins surf level pero los models y el abre jaula no lo tiene
Mensajes: 586
Temas: 15
Registro en: Jul 2017
Reputación:
6
Model de armas o de los jugadores? Abre jaula? Te referís a que este abierta o que tengan que presionar el botón?
Mensajes: 3,238
Temas: 47
Registro en: Feb 2015
Reputación:
34
03/05/2018, 06:00 PM
(Última modificación: 03/05/2018, 06:05 PM por Skylar.)
Te dejo este que armé hace bastante, tiene niveles por frags, armas con model y damage mas velocidad de disparo y las armas son automáticas, al subir de nivel te da el arma que corresponde a ese nivel.. Le falta el guardado creo
Código PHP: /* =================================================================================== [ Surf Mod + Level v1.0.0 ]
=================================================================================== */
#include <amxmodx> #include <amxmisc> #include <cstrike> #include <dhudmessage> #include <engine> #include <fakemeta> #include <fun> #include <hamsandwich>
new const __PLUGIN[ ][ ] = { "Surf Mod", "v1.0.0", "Sky" }; new const __PREFIXSAY[ ] = "^3[ SURFMOD ]^1"; new const __PREFIXMEN[ ] = "\d[\y SURFMOD\d ]\w";
/* ====================================================== */
/* ====================================================== */
#define NextLevel(%1) (%1 * 55 + 20) #define LevelMax 800 #define ID_SHOWHUD (taskid - TASK_SHOWHUD) #define TASK_SHOWHUD 16367 #define RANDOMR random_num( 0, 255 ) #define RANDOMG random_num( 0, 255 ) #define RANDOMB random_num( 0, 255 )
const PEV_SPEC_TARGET = pev_iuser2; const PRIMARY_WEAPONS_BIT_SUM = (1 << CSW_SCOUT)|(1 << CSW_XM1014)|(1 << CSW_MAC10)|(1 << CSW_AUG)|(1 << CSW_UMP45)|(1 << CSW_SG550)|(1 << CSW_GALIL)|(1 << CSW_FAMAS)| (1 << CSW_AWP)|(1 << CSW_MP5NAVY)|(1 << CSW_M249)|(1 << CSW_M3)|(1 << CSW_M4A1)|(1 << CSW_TMP)|(1 << CSW_G3SG1)|(1 << CSW_SG552)|(1 << CSW_AK47)|(1 << CSW_P90);
const SECONDARY_WEAPONS_BIT_SUM = (1 << CSW_P228)|(1 << CSW_ELITE)|(1 << CSW_FIVESEVEN)|(1 << CSW_USP)|(1 << CSW_GLOCK18)|(1 << CSW_DEAGLE); const PDATA_SAFE = 2; const OFFSET_WEAPONOWNER = 41; const OFFSET_LINUX_WEAPONS = 4; const HIDE_RM = (1<<3);
enum _:WEAPONSENUM { NAMEWPN[ 30 ], WEAPON_[ 30 ], CSW_, V_MODEL[ 50 ], BPAMMO, LEVELWPN, Float:DAMAGEWPN, Float:SPEEDWPN };
new const WEAPONPRIM[ ][ WEAPONSENUM ] = { { "SCHMIDT TMP", "weapon_tmp", CSW_TMP, "default", 999, 0, 0.0, 0.07 }, { "UMP 45", "weapon_ump45", CSW_UMP45, "default", 999, 1, 0.0, 0.10 }, { "MP5 NAVY", "weapon_mp5navy", CSW_MP5NAVY, "default", 999, 2, 0.0, 0.07 }, { "ES P90", "weapon_p90", CSW_P90, "default", 999, 3, 0.0, 0.06 }, { "IMI GALIL", "weapon_galil", CSW_GALIL, "default", 999, 4, 0.0, 0.08 }, { "FAMAS", "weapon_famas", CSW_FAMAS, "default", 999, 5, 0.0, 0.08 }, { "SG-552 COMMANDO", "weapon_sg552", CSW_SG552, "default", 999, 6, 0.0, 0.08 }, { "M4A1 CARBINE", "weapon_m4a1", CSW_M4A1, "default", 999, 7, 0.0, 0.08 }, { "AK-47 KALASHNIKOV", "weapon_ak47", CSW_AK47, "default", 999, 8, 0.0, 0.09 } };
new const WEAPONSEC[ ][ WEAPONSENUM ] = { { "USP .45 ACP TACTICAL", "weapon_usp", CSW_USP, "default", 999, 0, 0.0, 0.14 }, { "GLOCK 18C", "weapon_glock18", CSW_GLOCK18, "default", 999, 1, 0.0, 0.15 }, { "FIVESEVEN", "weapon_fiveseven", CSW_FIVESEVEN, "default", 999, 2, 0.0, 0.15 }, { "DUAL ELITE BERETTAS", "weapon_elite", CSW_ELITE, "default", 999, 3, 0.0, 0.07 }, { "DESERT EAGLE .50 AE", "weapon_deagle", CSW_DEAGLE, "default", 999, 4, 0.0, 0.22 } };
new const WEAPONS_ENT[ ][ ] = { "", "weapon_p228", "", "weapon_scout", "weapon_hegrenade", "weapon_xm1014", "weapon_c4", "weapon_mac10", "weapon_aug", "weapon_smokegrenade", "weapon_elite", "weapon_fiveseven", "weapon_ump45", "weapon_sg550", "weapon_galil", "weapon_famas", "weapon_usp", "weapon_glock18", "weapon_awp", "weapon_mp5navy", "weapon_m249", "weapon_m3", "weapon_m4a1", "weapon_tmp", "weapon_g3sg1", "weapon_flashbang", "weapon_deagle", "weapon_sg552", "weapon_ak47", "weapon_p90" };
new sLevel[ 33 ], sFrags[ 33 ]; new sWeaponSelectedPrim[ 33 ], sWeaponSelectedSec[ 33 ]; new sWeaponId[33]; new sStatusIcon, sHideWeapon, sCrosshair;
new cvarFragsUser, cvarFragsAdmin, cvarTimeRespawn;
/* ====================================================== */
/* ====================================================== */
public plugin_init( ) { register_plugin( __PLUGIN[ 0 ], __PLUGIN[ 1 ], __PLUGIN[ 2 ] );
register_event( "DeathMsg", "event_Death", "a" ); register_event( "ResetHUD", "event_ResetHud", "b" );
RegisterHam( Ham_Killed, "player", "ham_PlayerKilled_Post", true ); RegisterHam( Ham_Spawn, "player", "ham_Spawn", true ); RegisterHam( Ham_TakeDamage, "player", "ham_PlayerTakeDamage" ); new i; for( i = 0; i < sizeof( WEAPONS_ENT ); ++i ) { if( WEAPONS_ENT[ i ][ 0 ] ) { RegisterHam( Ham_Item_Deploy, WEAPONS_ENT[ i ], "ham_ItemDeploy", 1 ); RegisterHam( Ham_Weapon_PrimaryAttack, WEAPONS_ENT[ i ], "ham_PrimaryAttack", 1 ); } } register_clcmd( "nightvision", "open_Menu" ); register_clcmd( "drop", "clcmd_LockedCommand" ); register_clcmd( "kill", "clcmd_LockedCommand" ); sStatusIcon = get_user_msgid( "StatusIcon" ); sHideWeapon = get_user_msgid( "HideWeapon" ); sCrosshair = get_user_msgid( "Crosshair" ); register_message( sStatusIcon, "message_BlockBuyZone" ); register_message( sHideWeapon, "message_HideWeapon" );
cvarFragsUser = register_cvar( "sf_fragsuser", "5" ); cvarFragsAdmin = register_cvar( "sf_fragsadmin", "10" ); cvarTimeRespawn = register_cvar( "sf_timerespawn", "3.0" ); }
public plugin_precache( ) { new b; for( b = 0; b < sizeof( WEAPONPRIM ); b++ ) { if( !equal( WEAPONPRIM[ b ][ V_MODEL ], "default" ) ) precache_model( WEAPONPRIM[ b ][ V_MODEL ] ); } for( b = 0; b < sizeof( WEAPONSEC ); b++ ) { if( !equal( WEAPONSEC[ b ][ V_MODEL ], "default" ) ) precache_model( WEAPONSEC[ b ][ V_MODEL ] ); } }
public client_putinserver( id ) { set_task( 0.5, "OpenShowHud", id+TASK_SHOWHUD, _, _, "b" );
sLevel[ id ] = 0; sFrags[ id ] = 0; }
public client_disconnect( id ) remove_task( id+TASK_SHOWHUD );
/* ====================================================== */
/* ====================================================== */
public event_Death( ) { new iAttacker = read_data( 1 ); new iVictim = read_data( 2 ); new iAdmin = is_user_admin( iAttacker );
if( iAttacker == iVictim || !is_user_connected( iAttacker ) || !is_user_connected( iVictim ) ) return;
sFrags[ iAttacker ] += iAdmin ? get_pcvar_num( cvarFragsAdmin ) : get_pcvar_num( cvarFragsUser ); cc( iAttacker, "%s Ganaste^4 %d^1 frag(s) por matar a un enemigo%s.", __PREFIXSAY, iAdmin ? get_pcvar_num( cvarFragsAdmin ) : get_pcvar_num( cvarFragsUser ), iAdmin ? " siendo admin" : "" );
UpdateLevel( iAttacker ); }
public event_ResetHud( id ) { message_begin( MSG_ONE, sHideWeapon, _, id ); write_byte( HIDE_RM ); message_end( ); message_begin( MSG_ONE, sCrosshair, _, id ); write_byte( 0 ); message_end( ); }
public ham_PlayerKilled_Post( victim, attacker ) { if( victim == attacker || !is_user_connected( attacker ) ) return; set_dhudmessage( RANDOMR, RANDOMG, RANDOMB, 0.29, 0.49, 1, 6.0, 1.1, 0.30, 0.30 ); show_dhudmessage( victim, "REVIVIRAS EN 3 SEGUNDO(S)." ); set_task( get_pcvar_float( cvarTimeRespawn ), "activeRespawn", victim ); }
public ham_Spawn( id ) { if( !is_user_alive( id ) ) return; set_task( 0.5, "GiveWeapons", id ); }
public ham_PlayerTakeDamage( const iVictim, const iInflictor, const iAttacker, Float:fDamage, const iDamageBits ) { if( iVictim == iAttacker || !is_user_connected( iAttacker )) return HAM_IGNORED;
static idWeapon; idWeapon = get_user_weapon(iAttacker); if( idWeapon == WEAPONPRIM[ sWeaponSelectedPrim[ iAttacker ] ][ CSW_ ] ) { if( WEAPONPRIM[ sWeaponSelectedPrim[ iAttacker ] ][ DAMAGEWPN ] ) fDamage *= WEAPONPRIM[ sWeaponSelectedPrim[ iAttacker ] ][ DAMAGEWPN ]; } else if( idWeapon == WEAPONSEC[ sWeaponSelectedSec[ iAttacker ] ][ CSW_ ] ) { if( WEAPONSEC[ sWeaponSelectedSec[ iAttacker ] ][ DAMAGEWPN ] ) fDamage *= WEAPONSEC[ sWeaponSelectedSec[ iAttacker ] ][ DAMAGEWPN ]; }
SetHamParamFloat( 4, fDamage ); return HAM_IGNORED; }
public GiveWeapons( id ) { if( !is_user_alive( id ) ) return;
strip_user_weapons( id ); give_item( id, "weapon_knife" );
new wpn = -1; new wpntwo = -1;
for( new b = 0; b < sizeof( WEAPONPRIM ); b++ ) { if( sLevel[ id ] >= WEAPONPRIM[ b ][ LEVELWPN ] ) wpn = b; } for( new sc = 0; sc < sizeof( WEAPONSEC ); sc++ ) { if( sLevel[ id ] >= WEAPONSEC[ sc ][ LEVELWPN ] ) wpntwo = sc; }
sWeaponSelectedPrim[ id ] = wpn; sWeaponSelectedSec[ id ] = wpntwo;
give_item( id, WEAPONPRIM[ wpn ][ WEAPON_ ] ); cs_set_user_bpammo( id, WEAPONPRIM[ wpn ][ CSW_ ], WEAPONPRIM[ wpn ][ BPAMMO ] ); give_item( id, WEAPONSEC[ wpntwo ][ WEAPON_ ] ); cs_set_user_bpammo( id, WEAPONSEC[ wpntwo ][ CSW_ ], WEAPONSEC[ wpntwo ][ BPAMMO ] ); }
public ham_ItemDeploy( iEnt ) { static iOwner; iOwner = getWeaponEntId( iEnt );
if( !pev_valid( iOwner ) ) return;
static iWeaponIndex; iWeaponIndex = cs_get_weapon_id( iEnt );
sWeaponId[ iOwner ] = iWeaponIndex; SetPlayerWeaponSkin( iOwner, iWeaponIndex ); }
public ham_PrimaryAttack( weapon ) { new id = get_pdata_cbase( weapon, 41, 4 ); if( !is_user_alive( id ) ) return HAM_IGNORED; if( WEAPONPRIM[ sWeaponSelectedPrim[ id ] ][ CSW_ ] ) { static Float:flRatePrim; flRatePrim = WEAPONPRIM[ sWeaponSelectedPrim[ id ] ][ SPEEDWPN ]; set_pdata_float( weapon, 46, flRatePrim, 4 ); set_pdata_float( weapon, 47, flRatePrim, 4 ); set_pdata_float( weapon, 48, flRatePrim, 4 ); } else if( WEAPONSEC[ sWeaponSelectedSec[ id ] ][ CSW_ ] ) { static Float:flRateSec; flRateSec = WEAPONSEC[ sWeaponSelectedSec[ id ] ][ SPEEDWPN ]; set_pdata_float( weapon, 46, flRateSec, 4 ); set_pdata_float( weapon, 47, flRateSec, 4 ); set_pdata_float( weapon, 48, flRateSec, 4 ); } return HAM_IGNORED; }
public message_BlockBuyZone( msgid, msgdest, id ) { static szIcon[ 8 ]; get_msg_arg_string( 2, szIcon, 7 ); if( equal( szIcon, "buyzone" ) && get_msg_arg_int( 1 ) ) { set_pdata_int( id, 235, get_pdata_int( id, 235 ) & ~( 1<<0 ) ); return PLUGIN_HANDLED; } return PLUGIN_CONTINUE; }
public message_HideWeapon( ) set_msg_arg_int( 1, ARG_BYTE, get_msg_arg_int( 1 ) | HIDE_RM );
/* ====================================================== */
/* ====================================================== */
public clcmd_LockedCommand( ) return PLUGIN_HANDLED;
public SetPlayerWeaponSkin( id, weaponid ) { if( ( 1 << weaponid ) & PRIMARY_WEAPONS_BIT_SUM ) { if( !equal( WEAPONPRIM[ sWeaponSelectedPrim[ id ] ][ V_MODEL ], "default" ) ) entity_set_string( id, EV_SZ_viewmodel, WEAPONPRIM[ sWeaponSelectedPrim[ id ] ][ V_MODEL ] ); } else if( ( 1 << weaponid ) & SECONDARY_WEAPONS_BIT_SUM ) { if( !equal( WEAPONSEC[ sWeaponSelectedSec[ id ] ][ V_MODEL ], "default" ) ) entity_set_string( id, EV_SZ_viewmodel, WEAPONSEC[ sWeaponSelectedSec[ id ] ][ V_MODEL ] ); } }
public OpenShowHud( taskid ) { static id; id = ID_SHOWHUD;
if( !is_user_alive( id ) ) { id = pev( id, PEV_SPEC_TARGET );
if( !is_user_alive( id ) ) return; }
new iName[ 32 ], iHealth, iArmor, iLevel, iFrags; get_user_name( id, iName, charsmax( iName ) ); iHealth = get_user_health( id ); iArmor = get_user_armor( id ); iLevel = sLevel[ id ]; iFrags = sFrags[ id ];
if( id != ID_SHOWHUD ) { set_dhudmessage( RANDOMR, RANDOMG, RANDOMB, 0.025, 0.21, 1, 6.0, 1.1, 0.0, 0.0 ); show_dhudmessage( ID_SHOWHUD, "ESPECTEANDO A %s^nVIDA: %d^nARMADURA: %d^nNIVEL: %d/%d^nFRAGS: %d^n", iName, iHealth, iArmor, iLevel, LevelMax, iFrags ); } else { set_dhudmessage( RANDOMR, RANDOMG, RANDOMB, 0.025, 0.21, 1, 6.0, 1.1, 0.0, 0.0 ); show_dhudmessage( ID_SHOWHUD, "VIDA: %d^nARMADURA: %d^nNIVEL: %d/%d^nFRAGS: %d/%d^n", get_user_health( ID_SHOWHUD ), get_user_armor( ID_SHOWHUD ), sLevel[ ID_SHOWHUD ], LevelMax, sFrags[ ID_SHOWHUD ], NextLevel( sLevel[ ID_SHOWHUD ] ) ); } }
public UpdateLevel( id ) { new iUploaded = false;
while( sFrags[ id ] >= NextLevel( sLevel[ id ] ) && sLevel[ id ] < LevelMax ) { sLevel[ id ]++; iUploaded = true; }
if( iUploaded ) { cc( id, "%s Felicitaciones! - Subiste al^4 nivel: %d^1.", __PREFIXSAY, sLevel[ id ] ); iUploaded = false; GiveWeapons( id ) } }
public activeRespawn( id ) { if( cs_get_user_team( id ) == CS_TEAM_CT || cs_get_user_team( id ) == CS_TEAM_T ) ExecuteHamB( Ham_CS_RoundRespawn, id ); }
public open_Menu( id ) { static iFormatex[ 999 ]; formatex( iFormatex, charsmax( iFormatex ), "%s MENU PRINCIPAL", __PREFIXMEN ); new iMenu = menu_create( iFormatex, "hand_MenuPrincipal" ); menu_additem( iMenu, "\wINFORMACION DE\y ARMAS PRIMARIAS", "1" ); menu_additem( iMenu, "\wINFORMACION DE\y ARMAS SECUNDARIAS", "2" ); menu_setprop( iMenu, MPROP_EXITNAME, "SALIR" ); menu_setprop( iMenu, MPROP_NEXTNAME, "SIGUIENTE" ); menu_setprop( iMenu, MPROP_BACKNAME, "ATRAS" ); menu_display( id, iMenu, 0 ); } public hand_MenuPrincipal( id, menu, item ) { switch( item ) { case 0: open_InfWeaponsPrim( id ); case 1: open_InfWeaponsSec( id ); case MENU_EXIT: { menu_destroy( menu ); return PLUGIN_HANDLED; } } menu_destroy( menu ); return PLUGIN_HANDLED; }
public open_InfWeaponsPrim( id ) { static iFormatex[ 999 ]; formatex( iFormatex, charsmax( iFormatex ), "%s INFORMACION DE\y ARMAS PRIMARIAS", __PREFIXMEN ); new iMenu = menu_create( iFormatex, "hand_InfWeaponsPrim" ); for( new i = 0; i < sizeof( WEAPONPRIM ); i++ ) { formatex( iFormatex, charsmax( iFormatex ), "\w%s \y( NIVEL: %d )", WEAPONPRIM[ i ][ NAMEWPN ], WEAPONPRIM[ i ][ LEVELWPN ] ); menu_additem( iMenu, iFormatex ); } menu_setprop( iMenu, MPROP_EXITNAME, "SALIR" ); menu_setprop( iMenu, MPROP_NEXTNAME, "SIGUIENTE" ); menu_setprop( iMenu, MPROP_BACKNAME, "ATRAS" ); menu_display( id, iMenu, 0 ); } public hand_InfWeaponsPrim( id, menu, item ) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } open_InfWeaponsPrim( id ); return PLUGIN_HANDLED; }
public open_InfWeaponsSec( id ) { static iFormatex[ 999 ]; formatex( iFormatex, charsmax( iFormatex ), "%s INFORMACION DE\y ARMAS SECUNDARIAS", __PREFIXMEN ); new iMenu = menu_create( iFormatex, "hand_InfWeaponsSec" ); for( new i = 0; i < sizeof( WEAPONSEC ); i++ ) { formatex( iFormatex, charsmax( iFormatex ), "\w%s \y( NIVEL: %d )", WEAPONSEC[ i ][ NAMEWPN ], WEAPONSEC[ i ][ LEVELWPN ] ); menu_additem( iMenu, iFormatex ); } menu_setprop( iMenu, MPROP_EXITNAME, "SALIR" ); menu_setprop( iMenu, MPROP_NEXTNAME, "SIGUIENTE" ); menu_setprop( iMenu, MPROP_BACKNAME, "ATRAS" ); menu_display( id, iMenu, 0 ); } public hand_InfWeaponsSec( id, menu, item ) { if( item == MENU_EXIT ) { menu_destroy( menu ); return PLUGIN_HANDLED; } open_InfWeaponsSec( id ); return PLUGIN_HANDLED; }
/* ====================================================== */
/* ====================================================== */
stock cc(id, const input[], any:...) { static szMsg[191], msgSayText; if (!msgSayText) msgSayText = get_user_msgid("SayText"); vformat(szMsg, 190, input, 3);
replace_all(szMsg, 190, "!g", "^4"); replace_all(szMsg, 190, "!y", "^1"); replace_all(szMsg, 190, "!team", "^3"); message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, msgSayText, .player = id); write_byte(id ? id : 33); write_string(szMsg); message_end(); }
stock getWeaponEntId(const ent) { if( pev_valid( ent ) != PDATA_SAFE ) return -1; return get_pdata_cbase( ent, OFFSET_WEAPONOWNER, OFFSET_LINUX_WEAPONS ); }
No me deja subir el archivo
Mensajes: 51
Temas: 29
Registro en: Mar 2018
Reputación:
0
Aja pregunta y el que abre las jaulas yo e entrado a server y con solo disparar a las jaulas se abren ?
Mensajes: 3,077
Temas: 33
Registro en: May 2017
Reputación:
34
(03/05/2018, 09:30 PM)danielitho76 escribió: Aja pregunta y el que abre las jaulas yo e entrado a server y con solo disparar a las jaulas se abren ?
Código PHP: #include <amxmodx> #include <amxmisc> #include <fakemeta>
new cvar_on new entlist[][] = { "func_button", "trigger_multiple", "trigger_once" }
public plugin_init() { register_plugin("Jail Opener","1.0","danielkza") register_concmd("open_jail","open_jail_cmd",ADMIN_KICK,"Open/Close the jail on surf maps") cvar_on = register_cvar("open_jail_on","1") }
public open_jail_cmd(id,level,cid) { if(!cmd_access(id,level,cid,0)) return PLUGIN_HANDLED new map[32] get_mapname(map,31) if(!get_pcvar_num(cvar_on)) { client_print(id,print_console,"[AMXX] Jail opening disabled") return PLUGIN_HANDLED } else if(!equali(map,"surf",4)) { client_print(id,print_console,"[AMXX] Not in a Surf map") return PLUGIN_HANDLED } else { if(read_argc()>1) { new arg[8] read_argv(1,arg,7) set_task(str_to_float(arg),"open_jail",id) } else open_jail(id) } return PLUGIN_HANDLED }
public open_jail(id) { new ent,target[32],ent2
for(new i=0;i < sizeof entlist;i++) { ent=0 ent2=0 while((ent = engfunc(EngFunc_FindEntityByString, ent, "classname", entlist[i]))) { if(pev_valid(ent)) { //dllfunc(DLLFunc_Touch,ent,id) pev(ent,pev_target,target,31) while((ent2 = engfunc(EngFunc_FindEntityByString, ent2, "targetname", target))) { dllfunc(DLLFunc_Use,ent2,id) client_print(id,print_console,"[AMXX] Jail has been opened") return PLUGIN_HANDLED } } } } client_print(id,print_console,"[AMXX] Error opening jail.Make sure map has one") return PLUGIN_HANDLED }
Mensajes: 940
Temas: 29
Registro en: Sep 2016
Reputación:
7
03/05/2018, 09:51 PM
(Última modificación: 03/05/2018, 09:52 PM por KrR10VnZl.)
(03/05/2018, 09:30 PM)danielitho76 escribió: Aja pregunta y el que abre las jaulas yo e entrado a server y con solo disparar a las jaulas se abren ?
este es el plugin
https://forums.alliedmods.net/showthread.php?p=1143062
Saludos..
Cita:Los precios en la moneda venezolana se fijarán a partir de la reconversión monetaria y valdrá mucho menos de lo que cuesta una Cachapa con queso.
Mensajes: 35
Temas: 0
Registro en: Jul 2016
Reputación:
0
Este Es Cuando Disparas Al Boton Y Abre Jaula. O Buscabas Al Tocar Alguna Jaula Se Abra¿?
Código PHP: #include <amxmodx> #include <hamsandwich> #include <fakemeta>
public plugin_init() { RegisterHam(Ham_TraceAttack, "func_button", "Ham_UseButton") }
public Ham_UseButton( iEnt, iAttacker, Float:fDamage, Float:vDirection[3], TraceHandle, iDamageBits ) { dllfunc(DLLFunc_Use, iEnt, iAttacker) }
|