Raised This Month: $2 Target: $400
 0% 

THis is not doing nothing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ykaru
Member
Join Date: Aug 2019
Old 01-26-2020 , 18:48   THis is not doing nothing
Reply With Quote #1

Hi, i have this plugin, I can compile it with 0 errors but its not working, when i use the command it does nothing (sry for my english)
As you can see he should give me a big dmg awp, but he doesn't give me anything.

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#include <zombieplague>

#define PLUGIN "CSO Thunderbolt"
#define VERSION "2.0"
#define AUTHOR "Dias"

#define CSW_THUNDERBOLT CSW_AWP
#define weapon_thunderbolt "weapon_awp"
#define old_event "events/awp.sc"
#define old_w_model "models/w_awp.mdl"
#define WEAPON_SECRETCODE 4234234

#define DEFAULT_AMMO 20
#define RELOAD_TIME 2.67
#define DAMAGE 800

#define ZOOM_DELAY 0.5
#define ZOOM_DELAY2 0.1

new const v_model[] = "models/Thunder/v_sfsniper2.mdl"
new const p_model[] = "models/Thunder/p_sfsniper.mdl"
new const w_model[] = "models/Thunder/w_sfsniper.mdl"
new const weapon_sound[5][] = 
{
    
"weapons/Thunder/sfsniper-1.wav",
    
"weapons/Thunder/sfsniper_reload.wav",
    
"weapons/Thunder/sfsniper_zoom.wav",
    
"weapons/Thunder/sfsniper_idle.wav",
    
"weapons/Thunder/sfsniper_draw.wav"
}


new const 
WeaponResource[4][] = 
{
    
"sprites/Thunder/weapon_sfsniper.txt",
    
"sprites/Thunder/640hud2.spr",
    
"sprites/Thunder/640hud10.spr",
    
"sprites/Thunder/640hud81.spr"
}

enum
{
    
TB_ANIM_IDLE 0,
    
TB_ANIM_SHOOT,
    
TB_ANIM_DRAW
}

new 
g_thunderbolt
new g_had_thunderbolt[33], g_thunderbolt_ammo[33], g_Shoot_Count[33], Float:StartOrigin2[3], Float:EndOrigin2[3],
Float:g_thunderbolt_zoomdelay[33], Float:g_thunderbolt_zoomdelay2[33], Float:g_thunderbolt_zoomdelay3[33]
new 
g_old_weapon[33], g_smokepuff_idm_iBlood[2], g_event_thunderboltg_scope_hud
new g_Beam_SprIdFloat:g_can_laser[33]

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_forward(FM_CmdStart"fw_CmdStart")
    
register_forward(FM_SetModel"fw_SetModel")
    
register_forward(FM_UpdateClientData"fw_UpdateClientData_Post"1)    
    
register_forward(FM_PlaybackEvent"fw_PlaybackEvent")        
    
    
RegisterHam(Ham_Item_AddToPlayerweapon_thunderbolt"fw_AddToPlayer_Post"1)
    
RegisterHam(Ham_TraceAttack"worldspawn""fw_TraceAttack2")
    
RegisterHam(Ham_TraceAttack"player""fw_TraceAttack")
    
RegisterHam(Ham_TraceAttack"player""fw_TraceAttack_Post"1)
    
    
register_event("CurWeapon""Event_CurWeapon""be""1=1")
    
    
g_scope_hud CreateHudSyncObj(1962)
    
    
register_clcmd("amx_awp""fwClCmdThunderboltGet"ADMIN_LEVEL_C"<name>")
    
register_clcmd("weapon_sfsniper""hook_weapon")
    
    
//register_clcmd("do_shoot", "do_shoot")
    //register_clcmd("do_drop", "do_drop")
}

public 
fwClCmdThunderboltGet(iIDAdminiBsAccessRequirediIDCommand)
{
    if (!
cmd_access(iIDAdminiBsAccessRequirediIDCommand2))
        return 
PLUGIN_HANDLED_MAIN;
    
    new 
szArg1[31], iIDTarget;
    
read_argv(1szArg1charsmax(szArg1))
    
    if (!
szArg1[0])
        
iIDTarget iIDAdmin
    
else
    {
        
iIDTarget cmd_target(iIDAdminszArg1CMDTARGET_ALLOW_SELF);
        
        if (!
iIDTarget)
            return 
PLUGIN_HANDLED_MAIN;
    }
    
    
get_user_name(iIDTargetszArg1charsmax(szArg1))
    
    if (
get_thunderbolt(iIDTarget))
    {
        
client_print(iIDAdminprint_console"* I-ai dat lui ^"%s^" un Thunderbolt."szArg1)
    }
    else
    {
        
client_print(iIDAdminprint_console"* Player-ul ^"%s^" nu e in viata. Nu poti sa-i dai un Thunderbolt."szArg1)
    }
    
    return 
PLUGIN_HANDLED_MAIN;
}
/*
public do_drop(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        fm_strip_user_weapons(Target)
        get_thunderbolt(Target)
    }
}

public do_shoot(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        thunderbolt_shoothandle(Target)
    }
}*/

public plugin_precache()
{
    
precache_model(v_model)
    
precache_model(p_model)
    
precache_model(w_model)
    
    for(new 
0sizeof(weapon_sound); i++) 
         
precache_sound(weapon_sound])
        
    
precache_generic(WeaponResource[0])
    for(new 
1sizeof(WeaponResource); i++)
         
precache_model(WeaponResource])
    
    
g_smokepuff_id engfunc(EngFunc_PrecacheModel"sprites/wall_puff1.spr")
    
m_iBlood[0] = precache_model("sprites/blood.spr")
    
m_iBlood[1] = precache_model("sprites/bloodspray.spr")    
    
g_Beam_SprId precache_model("sprites/laserbeam.spr")
    
    
register_forward(FM_PrecacheEvent"fw_PrecacheEvent_Post"1)    
    
g_thunderbolt zp_register_extra_item("Thunderbolt"40ZP_TEAM_HUMAN)
}

new 
g_register
public client_putinserver(id)
{
    if(!
g_register && is_user_bot(id))
    {
        
g_register 0
        set_task
(0.1"do_register"id__"b")
    }
}

public 
do_register(id)
{
    
RegisterHamFromEntity(Ham_TraceAttackid"fw_TraceAttack")
    
RegisterHamFromEntity(Ham_TraceAttackid"fw_TraceAttack_Post"1)
}

public 
fw_PrecacheEvent_Post(type, const name[])
{
    if(
equal(old_eventname))
        
g_event_thunderbolt get_orig_retval()
}

public 
zp_extra_item_selected(iditemid)
{
    if(
itemid == g_thunderboltget_thunderbolt(id)
}

public 
zp_user_infected_post(id)
{
    
remove_thunderbolt(id)
}

public 
hook_weapon(id)
{
    
engclient_cmd(idweapon_thunderbolt)
    return
}

public 
get_thunderbolt(id)
{
    if(!
is_user_alive(id))
        return 
0;
        
    
g_had_thunderbolt[id] = 1
    g_thunderbolt_ammo
[id] = DEFAULT_AMMO
    
    give_item
(idweapon_thunderbolt)
    
    static 
weapon_entweapon_ent fm_find_ent_by_owner(-1weapon_thunderboltid)
    if(
pev_valid(weapon_ent)) cs_set_weapon_ammo(weapon_ent1)
    
    return 
1;
}

public 
remove_thunderbolt(id)
{
    
g_had_thunderbolt[id] = 0
    g_thunderbolt_ammo
[id] = 0
}

public 
fw_UpdateClientData_Post(idsendweaponscd_handle)
{
    if(!
is_user_alive(id) || !is_user_connected(id))
        return 
FMRES_IGNORED    
    
if(get_user_weapon(id) == CSW_THUNDERBOLT && g_had_thunderbolt[id])
        
set_cd(cd_handleCD_flNextAttackget_gametime() + 0.001
    
    return 
FMRES_HANDLED
}

public 
fw_PlaybackEvent(flagsinvokereventidFloat:delayFloat:origin[3], Float:angles[3], Float:fparam1Float:fparam2iParam1iParam2bParam1bParam2)
{
    if (!
is_user_connected(invoker))
        return 
FMRES_IGNORED        
    
if(get_user_weapon(invoker) == CSW_THUNDERBOLT && g_had_thunderbolt[invoker] && eventid == g_event_thunderbolt)
    {
        
engfunc(EngFunc_PlaybackEventflags FEV_HOSTONLYinvokereventiddelayoriginanglesfparam1fparam2iParam1iParam2bParam1bParam2)    

        
set_weapon_anim(invokerTB_ANIM_SHOOT)
        
emit_sound(invokerCHAN_WEAPONweapon_sound[0], 1.0ATTN_NORM0PITCH_NORM)    

        return 
FMRES_SUPERCEDE
    
}
    
    return 
FMRES_HANDLED
}

public 
Event_CurWeapon(id)
{
    if(!
is_user_alive(id))
        return
        
    if(
get_user_weapon(id) == CSW_THUNDERBOLT && g_had_thunderbolt[id])
    {
        
set_pev(idpev_viewmodel2cs_get_user_zoom(id) == v_model "")
        
set_pev(idpev_weaponmodel2p_model)
        
        if(
g_old_weapon[id] != CSW_THUNDERBOLTset_weapon_anim(idTB_ANIM_DRAW)
        
update_ammo(id)
    } else if(
get_user_weapon(id) != CSW_THUNDERBOLT && g_old_weapon[id] == CSW_THUNDERBOLT) {
        
cs_set_user_zoom(id11)
    }
    
    
g_old_weapon[id] = get_user_weapon(id)
}

public 
fw_CmdStart(iduc_handleseed)
{
    if(!
is_user_alive(id) || !is_user_connected(id))
        return 
FMRES_IGNORED
    
if(get_user_weapon(id) != CSW_THUNDERBOLT || !g_had_thunderbolt[id])
        return 
FMRES_IGNORED
    
    
static CurButton
    CurButton 
get_uc(uc_handleUC_Buttons)
    
    if(
CurButton IN_ATTACK)
    {
        
CurButton &= ~IN_ATTACK
        set_uc
(uc_handleUC_ButtonsCurButton)
        
        
thunderbolt_shoothandle(id)
    }
    if(
CurButton IN_ATTACK2
    {
        
CurButton &= ~IN_ATTACK2
        set_uc
(uc_handleUC_ButtonsCurButton)
        
        if(
get_gametime() - ZOOM_DELAY g_thunderbolt_zoomdelay[id])
        {
            if(
get_pdata_float(id835) <= 0.0)
            {
                if(
cs_get_user_zoom(id) == 1)
                {
                    
cs_set_user_zoom(idCS_SET_FIRST_ZOOM1)
                } else {
                    
cs_set_user_zoom(id11)
                }
                    
                
emit_sound(idCHAN_ITEMweapon_sound[2], 1.0ATTN_NORM0PITCH_NORM)
            }
            
g_thunderbolt_zoomdelay[id] = get_gametime()
        }
    }
    
    if(
get_gametime() - ZOOM_DELAY2 g_thunderbolt_zoomdelay2[id])
    {
        if(
cs_get_user_zoom(id) == CS_SET_FIRST_ZOOM)
        {
            static 
BodyTarget
            get_user_aiming
(idTargetBody99999999)
            
            if(!
is_user_alive(Target))
            {
                
set_hudmessage(02000, -1.0, -1.000.10.1)
            } else {
                
set_hudmessage(25500, -1.0, -1.000.10.1)
                
                if(
get_gametime() - ZOOM_DELAY g_thunderbolt_zoomdelay3[id])
                {
                    
emit_sound(idCHAN_ITEMweapon_sound[1], 1.0ATTN_NORM0PITCH_NORM)
                    
g_thunderbolt_zoomdelay3[id] = get_gametime()
                }    
            }
            
            
ShowSyncHudMsg(idg_scope_hud"|^n-- + --^n|")
        } else {
            
set_hudmessage(02000, -1.0, -1.000.10.1)
            
ShowSyncHudMsg(idg_scope_hud"")
        }
            
        
g_thunderbolt_zoomdelay2[id] = get_gametime()
    }
    
    return 
FMRES_HANDLED
}

public 
thunderbolt_shoothandle(id)
{
    if(
get_pdata_float(id835) <= 0.0 && g_thunderbolt_ammo[id] > 0)
    {
        
g_thunderbolt_ammo[id]--
        
g_Shoot_Count[id] = 0
        update_ammo
(id)
        
        
Stock_Get_Postion(id50.010.05.0StartOrigin2)
        
        
set_task(0.1"Create_Laser"id)
        
        static 
weapon_entweapon_ent fm_find_ent_by_owner(-1weapon_thunderboltid)
        if(
pev_valid(weapon_ent)) ExecuteHamB(Ham_Weapon_PrimaryAttackweapon_ent)
        
set_player_nextattack(idCSW_THUNDERBOLTRELOAD_TIME)
        
        
// Reset Weapon
        
cs_set_user_zoom(id11)
        
        
set_hudmessage(02000, -1.0, -1.000.10.1)
        
ShowSyncHudMsg(idg_scope_hud"")
    }
}

public 
Create_Laser(id)
{
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(TE_BEAMPOINTS)
    
engfunc(EngFunc_WriteCoordStartOrigin2[0])
    
engfunc(EngFunc_WriteCoordStartOrigin2[1])
    
engfunc(EngFunc_WriteCoordStartOrigin2[2] - 10.0)
    
engfunc(EngFunc_WriteCoordEndOrigin2[0])
    
engfunc(EngFunc_WriteCoordEndOrigin2[1])
    
engfunc(EngFunc_WriteCoordEndOrigin2[2])
    
write_short(g_Beam_SprId)
    
write_byte(0)
    
write_byte(0)
    
write_byte(30)
    
write_byte(25)
    
write_byte(0)
    
write_byte(0)
    
write_byte(0)
    
write_byte(255)
    
write_byte(255)
    
write_byte(0)
    
message_end()    
}

public 
fw_SetModel(entitymodel[])
{
    if(!
pev_valid(entity))
        return 
FMRES_IGNORED
    
    
static Classname[64]
    
pev(entitypev_classnameClassnamesizeof(Classname))
    
    if(!
equal(Classname"weaponbox"))
        return 
FMRES_IGNORED
    
    
static id
    id 
pev(entitypev_owner)
    
    if(
equal(modelold_w_model))
    {
        static 
weapon
        weapon 
fm_get_user_weapon_entity(entityCSW_THUNDERBOLT)
        
        if(!
pev_valid(weapon))
            return 
FMRES_IGNORED
        
        
if(g_had_thunderbolt[id])
        {
            
set_pev(weaponpev_impulseWEAPON_SECRETCODE)
            
set_pev(weaponpev_iuser4g_thunderbolt_ammo[id])
            
engfunc(EngFunc_SetModelentityw_model)
            
            
g_had_thunderbolt[id] = 0
            g_thunderbolt_ammo
[id] = 0
            
            
return FMRES_SUPERCEDE
        
}
    }

    return 
FMRES_IGNORED;
}

public 
fw_AddToPlayer_Post(entid)
{
    if(
pev(entpev_impulse) == WEAPON_SECRETCODE)
    {
        
g_had_thunderbolt[id] = 1
        g_thunderbolt_ammo
[id] = pev(entpev_iuser4)
        
        
set_pev(entpev_impulse0)
    }            
    
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("WeaponList"), _id)
    
write_string((g_had_thunderbolt[id] == "weapon_sfsniper" "weapon_awp"))
    
write_byte(1)
    
write_byte(30)
    
write_byte(-1)
    
write_byte(-1)
    
write_byte(0)
    
write_byte(2)
    
write_byte(CSW_THUNDERBOLT)
    
write_byte(0)
    
message_end()
}

public 
fw_TraceAttack(entattackerFloat:DamageFloat:fDir[3], pentruiDamageType)
{
    if(!
is_user_alive(attacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_THUNDERBOLT || !g_had_thunderbolt[attacker])
        return 
HAM_IGNORED
        
    
static Float:flEnd[3]
    
get_tr2(pentruTR_vecEndPosflEnd)    

    if(
is_user_alive(ent)) create_blood(flEnd)
    
SetHamParamFloat(3float(DAMAGE))    
    
    return 
HAM_HANDLED
}

public 
fw_TraceAttack_Post(entattackerFloat:DamageFloat:fDir[3], pentruiDamageType)
{
    if(!
is_user_alive(attacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_THUNDERBOLT || !g_had_thunderbolt[attacker])
        return 
HAM_IGNORED

    
static Float:flEnd[3]
    
get_tr2(pentruTR_vecEndPosflEnd)
    
    
EndOrigin2 flEnd
    
    
return HAM_HANDLED
}

public 
fw_TraceAttack2(entattackerFloat:DamageFloat:fDir[3], pentruiDamageType)
{
    if(!
is_user_alive(attacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_THUNDERBOLT || !g_had_thunderbolt[attacker])
        return 
HAM_IGNORED
        
    
if(get_gametime() - 0.1 g_can_laser[attacker])
    {
        static 
Float:flEnd[3]
            
        
get_tr2(pentruTR_vecEndPosflEnd)    
        
EndOrigin2 flEnd
        
        make_bullet
(attackerflEnd)
        
fake_smoke(attackerpentru)

        
g_can_laser[attacker] = get_gametime()
    }

    return 
HAM_HANDLED
}

public 
update_ammo(id)
{
    if(!
is_user_alive(id))
        return
    
    static 
weapon_entweapon_ent fm_find_ent_by_owner(-1weapon_thunderboltid)
    if(
pev_valid(weapon_ent)) cs_set_weapon_ammo(weapon_ent1)    
    
    
cs_set_user_bpammo(idCSW_THUNDERBOLT0)
    
    
engfunc(EngFunc_MessageBeginMSG_ONE_UNRELIABLEget_user_msgid("CurWeapon"), {000}, id)
    
write_byte(1)
    
write_byte(CSW_THUNDERBOLT)
    
write_byte(-1)
    
message_end()
    
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("AmmoX"), _id)
    
write_byte(1)
    
write_byte(g_thunderbolt_ammo[id])
    
message_end()
}

stock set_weapon_anim(idanim)
{
    if(!
is_user_alive(id))
        return
    
    
set_pev(idpev_weaponanimanim)
    
    
message_begin(MSG_ONE_UNRELIABLESVC_WEAPONANIM, {000}, id)
    
write_byte(anim)
    
write_byte(pev(idpev_body))
    
message_end()
}


stock set_player_light(id, const LightStyle[])
{
    if(!
is_user_alive(id))
        return
        
    
message_begin(MSG_ONE_UNRELIABLESVC_LIGHTSTYLE, .player id)
    
write_byte(0)
    
write_string(LightStyle)
    
message_end()
}

stock make_bullet(idFloat:Origin[3])
{
    
// Find target
    
new decal random_num(4145)
    const 
loop_time 2
    
    
static BodyTarget
    get_user_aiming
(idTargetBody999999)
    
    if(
is_user_connected(Target))
        return
    
    for(new 
0loop_timei++)
    {
        
// Put decal on "world" (a wall)
        
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
        
write_byte(TE_WORLDDECAL)
        
engfunc(EngFunc_WriteCoordOrigin[0])
        
engfunc(EngFunc_WriteCoordOrigin[1])
        
engfunc(EngFunc_WriteCoordOrigin[2])
        
write_byte(decal)
        
message_end()
        
        
// Show sparcles
        
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
        
write_byte(TE_GUNSHOTDECAL)
        
engfunc(EngFunc_WriteCoordOrigin[0])
        
engfunc(EngFunc_WriteCoordOrigin[1])
        
engfunc(EngFunc_WriteCoordOrigin[2])
        
write_short(id)
        
write_byte(decal)
        
message_end()
    }
}

public 
fake_smoke(idtrace_result)
{
    static 
Float:vecSrc[3], Float:vecEnd[3], TE_FLAG
    
    get_weapon_attachment
(idvecSrc)
    
global_get(glb_v_forwardvecEnd)
    
    
xs_vec_mul_scalar(vecEnd8192.0vecEnd)
    
xs_vec_add(vecSrcvecEndvecEnd)

    
get_tr2(trace_resultTR_vecEndPosvecSrc)
    
get_tr2(trace_resultTR_vecPlaneNormalvecEnd)
    
    
xs_vec_mul_scalar(vecEnd2.5vecEnd)
    
xs_vec_add(vecSrcvecEndvecEnd)
    
    
TE_FLAG |= TE_EXPLFLAG_NODLIGHTS
    TE_FLAG 
|= TE_EXPLFLAG_NOSOUND
    TE_FLAG 
|= TE_EXPLFLAG_NOPARTICLES
    
    engfunc
(EngFunc_MessageBeginMSG_PASSVC_TEMPENTITYvecEnd0)
    
write_byte(TE_EXPLOSION)
    
engfunc(EngFunc_WriteCoordvecEnd[0])
    
engfunc(EngFunc_WriteCoordvecEnd[1])
    
engfunc(EngFunc_WriteCoordvecEnd[2] - 10.0)
    
write_short(g_smokepuff_id)
    
write_byte(2)
    
write_byte(50)
    
write_byte(TE_FLAG)
    
message_end()    
}

stock Stock_Get_Postion(id,Float:forw,Float:rightFloat:up,Float:vStart[])
{
    new 
Float:vOrigin[3], Float:vAngle[3], Float:vForward[3], Float:vRight[3], Float:vUp[3]
    
    
pev(idpev_originvOrigin)
    
pev(idpev_view_ofs,vUp//for player
    
xs_vec_add(vOrigin,vUp,vOrigin)
    
pev(idpev_v_anglevAngle// if normal entity ,use pev_angles
    
    
angle_vector(vAngle,ANGLEVECTOR_FORWARD,vForward//or use EngFunc_AngleVectors
    
angle_vector(vAngle,ANGLEVECTOR_RIGHT,vRight)
    
angle_vector(vAngle,ANGLEVECTOR_UP,vUp)
    
    
vStart[0] = vOrigin[0] + vForward[0] * forw vRight[0] * right vUp[0] * up
    vStart
[1] = vOrigin[1] + vForward[1] * forw vRight[1] * right vUp[1] * up
    vStart
[2] = vOrigin[2] + vForward[2] * forw vRight[2] * right vUp[2] * up


stock get_weapon_attachment(idFloat:output[3], Float:fDis 40.0)

    new 
Float:vfEnd[3], viEnd[3
    
get_user_origin(idviEnd3)  
    
IVecFVec(viEndvfEnd
    
    new 
Float:fOrigin[3], Float:fAngle[3]
    
    
pev(idpev_originfOrigin
    
pev(idpev_view_ofsfAngle)
    
    
xs_vec_add(fOriginfAnglefOrigin
    
    new 
Float:fAttack[3]
    
    
xs_vec_sub(vfEndfOriginfAttack)
    
xs_vec_sub(vfEndfOriginfAttack
    
    new 
Float:fRate
    
    fRate 
fDis vector_length(fAttack)
    
xs_vec_mul_scalar(fAttackfRatefAttack)
    
    
xs_vec_add(fOriginfAttackoutput)
}

stock create_blood(const Float:origin[3])
{
    
// Show some blood :)
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY
    
write_byte(TE_BLOODSPRITE)
    
engfunc(EngFunc_WriteCoordorigin[0])
    
engfunc(EngFunc_WriteCoordorigin[1])
    
engfunc(EngFunc_WriteCoordorigin[2])
    
write_short(m_iBlood[1])
    
write_short(m_iBlood[0])
    
write_byte(75)
    
write_byte(5)
    
message_end()
}

stock set_player_screenfade(pPlayersDuration 0sHoldTime 0sFlags 0000)
{
    if(!
is_user_connected(pPlayer))
        return
    
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("ScreenFade"), _pPlayer)
    
write_short(sDuration)
    
write_short(sHoldTime)
    
write_short(sFlags)
    
write_byte(r)
    
write_byte(g)
    
write_byte(b)
    
write_byte(a)
    
message_end()
}

stock set_player_nextattack(playerweapon_idFloat:NextTime)
{
    if(!
is_user_alive(player))
        return
    
    const 
m_flNextPrimaryAttack 46
    
const m_flNextSecondaryAttack 47
    
const m_flTimeWeaponIdle 48
    
const m_flNextAttack 83
    
    
static weapon
    weapon 
fm_get_user_weapon_entity(playerweapon_id)
    
    
set_pdata_float(playerm_flNextAttackNextTime5)
    if(
pev_valid(weapon))
    {
        
set_pdata_float(weaponm_flNextPrimaryAttack NextTime4)
        
set_pdata_float(weaponm_flNextSecondaryAttackNextTime4)
        
set_pdata_float(weaponm_flTimeWeaponIdleNextTime4)
    }
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/ 

Last edited by Ykaru; 01-27-2020 at 12:55.
Ykaru is offline
Ykaru
Member
Join Date: Aug 2019
Old 01-28-2020 , 07:17   Re: THis is not doing nothing
Reply With Quote #2

up
Ykaru is offline
Nutu_
Veteran Member
Join Date: Mar 2016
Location: Germany
Old 01-28-2020 , 18:40   Re: THis is not doing nothing
Reply With Quote #3

do not bump your topic after 2,3 days.
and it may not work because this is off?
PHP Code:
/*
public do_drop(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        fm_strip_user_weapons(Target)
        get_thunderbolt(Target)
    }
}

public do_shoot(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        thunderbolt_shoothandle(Target)
    }
}*/ 
not sure since i dont understand that plugin but it seems to give thunderbolt to the target, maybe i am wrong! but try
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Ykaru
Member
Join Date: Aug 2019
Old 01-28-2020 , 18:51   Re: THis is not doing nothing
Reply With Quote #4

Quote:
Originally Posted by Nutu_ View Post
do not bump your topic after 2,3 days.
and it may not work because this is off?
PHP Code:
/*
public do_drop(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        fm_strip_user_weapons(Target)
        get_thunderbolt(Target)
    }
}

public do_shoot(id)
{
    static Body, Target
    get_user_aiming(id, Target, Body, 999999)
    
    if(is_user_alive(Target))
    {
        thunderbolt_shoothandle(Target)
    }
}*/ 
not sure since i dont understand that plugin but it seems to give thunderbolt to the target, maybe i am wrong! but try
This is the original, what you saw was edited. But this version allows everybody to use that command not who has that flag.
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <fakemeta_util>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define PLUGIN "[CSO] Thunderbolt"
#define VERSION "3.0"
#define AUTHOR "Dias"

#define DAMAGE 600
#define DEFAULT_AMMO 20
#define RELOAD_TIME 2.67

#define DELAY_SOUND 0.25

#define CSW_THUNDERBOLT CSW_AWP
#define weapon_thunderbolt "weapon_awp"
#define old_event "events/awp.sc"
#define old_w_model "models/w_awp.mdl"
#define WEAPON_SECRETCODE 4234234

#define V_MODEL "models/bb_kript/v_sfsniper2.mdl"
#define P_MODEL "models/bb_kript/p_sfsniper.mdl"
#define W_MODEL "models/w_awp.mdl"

new const WeaponSounds[5][] = 
{
    
"weapons/sfsniper-1.wav",
    
"weapons/sfsniper_insight1.wav",
    
"weapons/sfsniper_zoom.wav",
    
"weapons/sfsniper_idle.wav",
    
"weapons/sfsniper_draw.wav"
}

new const 
WeaponResources[4][] = 
{
    
"sprites/weapon_sfsniper.txt",
    
"sprites/640hud2_2.spr",
    
"sprites/640hud10_2.spr",
    
"sprites/640hud81_2.spr"
}

enum
{
    
TB_ANIM_IDLE 0,
    
TB_ANIM_SHOOT,
    
TB_ANIM_DRAW
}

// MACROS
#define Get_BitVar(%1,%2) (%1 & (1 << (%2 & 31)))
#define Set_BitVar(%1,%2) %1 |= (1 << (%2 & 31))
#define UnSet_BitVar(%1,%2) %1 &= ~(1 << (%2 & 31))

new g_Had_Thunderboltg_Zoomedg_Aim_HudId
new Float:g_TargetOrigin[3], Float:CheckDelay[33]
new 
g_Msg_CurWeapong_Msg_AmmoX
new g_Beam_SprIdg_Smoke_SprIdg_HamBot_Registerg_Event_Thunderbolt

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("CurWeapon""Event_CurWeapon""be""1=1")
    
    
register_forward(FM_UpdateClientData"fw_UpdateClientData_Post"1)    
    
register_forward(FM_PlaybackEvent"fw_PlaybackEvent")        
    
register_forward(FM_SetModel"fw_SetModel")
    
register_forward(FM_CmdStart"fw_CmdStart")
    
    
RegisterHam(Ham_TraceAttack"player""fw_TraceAttack_Player")
    
RegisterHam(Ham_TraceAttack"worldspawn""fw_TraceAttack_World")
    
    
RegisterHam(Ham_Item_AddToPlayerweapon_thunderbolt"fw_AddToPlayer_Post"1)
    
RegisterHam(Ham_Item_Deployweapon_thunderbolt"fw_Item_Deploy_Post"1)
    
    
g_Msg_CurWeapon get_user_msgid("CurWeapon")
    
g_Msg_AmmoX get_user_msgid("AmmoX")
    
    
g_Aim_HudId CreateHudSyncObj(8)
    
    
register_clcmd("admin_get_thunderbolt""get_thunderbolt"ADMIN_IMMUNITY)
    
register_clcmd("weapon_sfsniper""CLCMD_HookWeapon")
}

public 
plugin_precache()
{
    
precache_model(V_MODEL)
    
precache_model(P_MODEL)
    
precache_model(W_MODEL)
    
    for(new 
0sizeof(WeaponSounds); i++) 
        
engfunc(EngFunc_PrecacheSoundWeaponSounds[i])
    for(new 
0sizeof(WeaponResources); i++)
    {
        if(
== 0engfunc(EngFunc_PrecacheGenericWeaponResources[0])
        else 
engfunc(EngFunc_PrecacheModelWeaponResources[i])
    }
    
    
g_Beam_SprId =  engfunc(EngFunc_PrecacheModel"sprites/laserbeam.spr")
    
g_Smoke_SprId engfunc(EngFunc_PrecacheModel"sprites/wall_puff1.spr")
    
    
register_forward(FM_PrecacheEvent"fw_PrecacheEvent_Post"1)    
}

public 
client_putinserver(id)
{
    if(
is_user_bot(id) && !g_HamBot_Register)
    {
        
g_HamBot_Register 1
        set_task
(0.1"Do_RegisterHamBot"id)
    }
}

public 
Do_RegisterHamBot(id)
{
    
RegisterHamFromEntity(Ham_TraceAttackid"fw_TraceAttack_Player")
}

public 
fw_PrecacheEvent_Post(type, const name[])
{
    if(
equal(old_eventname)) g_Event_Thunderbolt get_orig_retval()
}
public 
plugin_natives()
{
    
register_native("givee_tunder","dam_arma",1)
}
public 
dam_arma(id)
{
    
get_thunderbolt(id)
}
public 
get_thunderbolt(id)
{
    if(!
is_user_alive(id))
        return
        
    
Set_BitVar(g_Had_Thunderboltid)
    
UnSet_BitVar(g_Zoomedid)
    
    
fm_give_item(idweapon_thunderbolt)
    
    static 
weapon_entweapon_ent fm_find_ent_by_owner(-1weapon_thunderboltid)
    if(
pev_valid(weapon_ent)) cs_set_weapon_ammo(weapon_ent1)
    
    
cs_set_user_bpammo(idCSW_THUNDERBOLTDEFAULT_AMMO)
}

public 
Event_CurWeapon(id)
{
    static 
CSWIDCSWID read_data(2)
    if(
CSWID != CSW_THUNDERBOLT || !Get_BitVar(g_Had_Thunderboltid))
        return
        
    if(
cs_get_user_zoom(id) > && !Get_BitVar(g_Zoomedid)) // Zoom
    
{
        
set_pev(idpev_viewmodel2"")
        
Set_BitVar(g_Zoomedid)
    } else { 
// Not Zoom
        
set_pev(idpev_viewmodel2V_MODEL)
        
UnSet_BitVar(g_Zoomedid)
    }
    
    
UpdateAmmo(id, -1cs_get_user_bpammo(idCSW_THUNDERBOLT))
}

public 
CLCMD_HookWeapon(id)
{
    
engclient_cmd(idweapon_thunderbolt)
    return
}

public 
fw_UpdateClientData_Post(idsendweaponscd_handle)
{
    if(!
is_user_alive(id))
        return 
FMRES_IGNORED    
    
if(get_user_weapon(id) == CSW_THUNDERBOLT && Get_BitVar(g_Had_Thunderboltid))
        
set_cd(cd_handleCD_flNextAttackget_gametime() + 0.001
    
    return 
FMRES_HANDLED
}

public 
fw_PlaybackEvent(flagsinvokereventidFloat:delayFloat:origin[3], Float:angles[3], Float:fparam1Float:fparam2iParam1iParam2bParam1bParam2)
{
    if(
eventid != g_Event_Thunderbolt)
        return 
FMRES_IGNORED
    
if (!is_user_alive(invoker))
        return 
FMRES_IGNORED        
    
if(get_user_weapon(invoker) != CSW_THUNDERBOLT || !Get_BitVar(g_Had_Thunderboltinvoker))
        return 
FMRES_IGNORED
    
    engfunc
(EngFunc_PlaybackEventflags FEV_HOSTONLYinvokereventiddelayoriginanglesfparam1fparam2iParam1iParam2bParam1bParam2)
    
Thunderbolt_Shooting(invoker)

    return 
FMRES_SUPERCEDE
}

public 
fw_SetModel(entitymodel[])
{
    if(!
pev_valid(entity))
        return 
FMRES_IGNORED
    
    
static Classname[64]
    
pev(entitypev_classnameClassnamesizeof(Classname))
    
    if(!
equal(Classname"weaponbox"))
        return 
FMRES_IGNORED
    
    
static id
    id 
pev(entitypev_owner)
    
    if(
equal(modelold_w_model))
    {
        static 
weapon
        weapon 
fm_get_user_weapon_entity(entityCSW_THUNDERBOLT)
        
        if(!
pev_valid(weapon))
            return 
FMRES_IGNORED
        
        
if(Get_BitVar(g_Had_Thunderboltid))
        {
            
UnSet_BitVar(g_Had_Thunderboltid)
            
            
set_pev(weaponpev_impulseWEAPON_SECRETCODE)
            
set_pev(weaponpev_iuser4cs_get_user_bpammo(idCSW_THUNDERBOLT))
            
            
engfunc(EngFunc_SetModelentityW_MODEL)
            
            return 
FMRES_SUPERCEDE
        
}
    }

    return 
FMRES_IGNORED;
}

public 
fw_CmdStart(idUcHandleSeed)
{
    if(!
is_user_alive(id))
        return
    if(
get_user_weapon(id) != CSW_THUNDERBOLT || !Get_BitVar(g_Had_Thunderboltid))
        return
    if(
cs_get_user_zoom(id) <= 1)
        return
    
    if(
get_gametime() - DELAY_SOUND CheckDelay[id])
    {
        static 
BodyTarget
        get_user_aiming
(idTargetBody99999)
        
        if(
is_user_alive(Target))
        {
            
emit_sound(idCHAN_WEAPONWeaponSounds[1], VOL_NORMATTN_NORM0PITCH_NORM)
            
            
set_hudmessage(25000, -1.0, -1.000.10.1)
            
ShowSyncHudMsg(idg_Aim_HudId"+")
        }
        
        
CheckDelay[id] = get_gametime()
    }
}

public 
Thunderbolt_Shooting(id)
{
    
set_weapon_anim(idTB_ANIM_SHOOT)
    
emit_sound(idCHAN_WEAPONWeaponSounds[0], VOL_NORMATTN_NORM0PITCH_NORM)
    
    static 
AmmoAmmo cs_get_user_bpammo(idCSW_THUNDERBOLT)
    
    
Ammo--
    
UpdateAmmo(id, -1Ammo)
    
    if(
Ammo <= 0)
    {
        static 
EntEnt fm_get_user_weapon_entity(idCSW_THUNDERBOLT)
        if(
pev_valid(Ent)) cs_set_weapon_ammo(Ent0)
        
        
cs_set_user_bpammo(idCSW_THUNDERBOLT0)
    }

    
Create_Laser(idg_TargetOrigin)
    
    
// Fixed Shell Eject
    
set_pdata_float(id11199999999.05)

    
// Next Attack
    
Set_Player_NextAttack(idCSW_THUNDERBOLTRELOAD_TIME)
}

public 
Create_Laser(idFloat:End[3])
{
    static 
Float:Start[3]
    
Stock_Get_Postion(id50.05.0, -5.0Start)
    
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(TE_BEAMPOINTS)
    
engfunc(EngFunc_WriteCoordStart[0])
    
engfunc(EngFunc_WriteCoordStart[1])
    
engfunc(EngFunc_WriteCoordStart[2])
    
engfunc(EngFunc_WriteCoordEnd[0])
    
engfunc(EngFunc_WriteCoordEnd[1])
    
engfunc(EngFunc_WriteCoordEnd[2])
    
write_short(g_Beam_SprId)
    
write_byte(0)
    
write_byte(0)
    
write_byte(10)
    
write_byte(25)
    
write_byte(0)
    
write_byte(0)
    
write_byte(0)
    
write_byte(200)
    
write_byte(200)
    
write_byte(0)
    
message_end()    
}

public 
fw_AddToPlayer_Post(entid)
{
    if(
pev(entpev_impulse) == WEAPON_SECRETCODE)
    {
        
Set_BitVar(g_Had_Thunderboltid)
        
cs_set_user_bpammo(idCSW_THUNDERBOLTpev(entpev_iuser4))
        
        
set_pev(entpev_impulse0)
    }            
    
    
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("WeaponList"), _id)
    
write_string((Get_BitVar(g_Had_Thunderboltid) ? "weapon_sfsniper" "weapon_awp"))
    
write_byte(1)
    
write_byte(30)
    
write_byte(-1)
    
write_byte(-1)
    
write_byte(0)
    
write_byte(2)
    
write_byte(CSW_THUNDERBOLT)
    
write_byte(0)
    
message_end()
}

public 
fw_TraceAttack_Player(entattackerFloat:DamageFloat:fDir[3], ptriDamageType)
{
    if(!
is_user_alive(attacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_THUNDERBOLT || !Get_BitVar(g_Had_Thunderboltattacker))
        return 
HAM_IGNORED

    get_tr2
(ptrTR_vecEndPosg_TargetOrigin)
    
SetHamParamFloat(3float(DAMAGE))
    
    return 
HAM_HANDLED
}

public 
fw_TraceAttack_World(entattackerFloat:DamageFloat:fDir[3], ptriDamageType)
{
    if(!
is_user_alive(attacker))
        return 
HAM_IGNORED    
    
if(get_user_weapon(attacker) != CSW_THUNDERBOLT || !Get_BitVar(g_Had_Thunderboltattacker))
        return 
HAM_IGNORED

    get_tr2
(ptrTR_vecEndPosg_TargetOrigin)
    
Make_WorldHitEffect(attackerptr)
    
    
SetHamParamFloat(3float(DAMAGE))

    return 
HAM_HANDLED
}

public 
fw_Item_Deploy_Post(Ent)
{
    if(!
pev_valid(Ent))
        return
        
    static 
IdId get_pdata_cbase(Ent414)
    if(!
Get_BitVar(g_Had_ThunderboltId))
        return
        
    
UnSet_BitVar(g_ZoomedId)
        
    
set_pev(Idpev_viewmodel2V_MODEL)
    
set_pev(Idpev_weaponmodel2P_MODEL)    
        
    
set_weapon_anim(IdTB_ANIM_DRAW)
}

public 
UpdateAmmo(IdAmmoBpAmmo)
{
    static 
weapon_entweapon_ent fm_get_user_weapon_entity(IdCSW_THUNDERBOLT)
    if(
pev_valid(weapon_ent))
    {
        if(
BpAmmo 0cs_set_weapon_ammo(weapon_ent1)
        else 
cs_set_weapon_ammo(weapon_ent0)
    }
    
    
engfunc(EngFunc_MessageBeginMSG_ONE_UNRELIABLEg_Msg_CurWeapon, {000}, Id)
    
write_byte(1)
    
write_byte(CSW_THUNDERBOLT)
    
write_byte(-1)
    
message_end()
    
    
message_begin(MSG_ONE_UNRELIABLEg_Msg_AmmoX_Id)
    
write_byte(1)
    
write_byte(BpAmmo)
    
message_end()
    
    
cs_set_user_bpammo(IdCSW_THUNDERBOLTBpAmmo)
}

public 
Make_WorldHitEffect(idTrResult)
{
    
// Handle First
    
static Float:vecSrc[3], Float:vecEnd[3], TE_FLAG
    
    get_weapon_attachment
(idvecSrc)
    
global_get(glb_v_forwardvecEnd)
    
    
xs_vec_mul_scalar(vecEnd8192.0vecEnd)
    
xs_vec_add(vecSrcvecEndvecEnd)

    
get_tr2(TrResultTR_vecEndPosvecSrc)
    
get_tr2(TrResultTR_vecPlaneNormalvecEnd)
    
    
xs_vec_mul_scalar(vecEnd2.5vecEnd)
    
xs_vec_add(vecSrcvecEndvecEnd)
    
    
TE_FLAG |= TE_EXPLFLAG_NODLIGHTS
    TE_FLAG 
|= TE_EXPLFLAG_NOSOUND
    TE_FLAG 
|= TE_EXPLFLAG_NOPARTICLES
    
    
// Make Spark
    
for(new 03i++)
    {
        
engfunc(EngFunc_MessageBeginMSG_PASSVC_TEMPENTITYvecEnd0)
        
write_byte(TE_SPARKS)
        
engfunc(EngFunc_WriteCoordvecEnd[0])
        
engfunc(EngFunc_WriteCoordvecEnd[1])
        
engfunc(EngFunc_WriteCoordvecEnd[2] - 10.0)
        
message_end()
    }
    
    
// Make Smoke
    
engfunc(EngFunc_MessageBeginMSG_PASSVC_TEMPENTITYvecEnd0)
    
write_byte(TE_EXPLOSION)
    
engfunc(EngFunc_WriteCoordvecEnd[0])
    
engfunc(EngFunc_WriteCoordvecEnd[1])
    
engfunc(EngFunc_WriteCoordvecEnd[2] - 10.0)
    
write_short(g_Smoke_SprId)
    
write_byte(2)
    
write_byte(50)
    
write_byte(TE_FLAG)
    
message_end()    
}

stock set_weapon_anim(idanim)
{
    
set_pev(idpev_weaponanimanim)
    
    
message_begin(MSG_ONE_UNRELIABLESVC_WEAPONANIM, {000}, id)
    
write_byte(anim)
    
write_byte(pev(idpev_body))
    
message_end()
}

stock Stock_Get_Postion(id,Float:forw,Float:rightFloat:up,Float:vStart[])
{
    static 
Float:vOrigin[3], Float:vAngle[3], Float:vForward[3], Float:vRight[3], Float:vUp[3]
    
    
pev(idpev_originvOrigin)
    
pev(idpev_view_ofs,vUp//for player
    
xs_vec_add(vOrigin,vUp,vOrigin)
    
pev(idpev_v_anglevAngle// if normal entity ,use pev_angles
    
    
angle_vector(vAngle,ANGLEVECTOR_FORWARD,vForward//or use EngFunc_AngleVectors
    
angle_vector(vAngle,ANGLEVECTOR_RIGHT,vRight)
    
angle_vector(vAngle,ANGLEVECTOR_UP,vUp)
    
    
vStart[0] = vOrigin[0] + vForward[0] * forw vRight[0] * right vUp[0] * up
    vStart
[1] = vOrigin[1] + vForward[1] * forw vRight[1] * right vUp[1] * up
    vStart
[2] = vOrigin[2] + vForward[2] * forw vRight[2] * right vUp[2] * up


stock get_weapon_attachment(idFloat:output[3], Float:fDis 40.0)

    static 
Float:vfEnd[3], viEnd[3
    
get_user_origin(idviEnd3)  
    
IVecFVec(viEndvfEnd
    
    static 
Float:fOrigin[3], Float:fAngle[3]
    
    
pev(idpev_originfOrigin
    
pev(idpev_view_ofsfAngle)
    
    
xs_vec_add(fOriginfAnglefOrigin
    
    static 
Float:fAttack[3]
    
    
xs_vec_sub(vfEndfOriginfAttack)
    
xs_vec_sub(vfEndfOriginfAttack
    
    static 
Float:fRate
    
    fRate 
fDis vector_length(fAttack)
    
xs_vec_mul_scalar(fAttackfRatefAttack)
    
    
xs_vec_add(fOriginfAttackoutput)
}

stock Set_Player_NextAttack(idCSWIDFloat:NextTime)
{
    static 
EntEnt fm_get_user_weapon_entity(idCSWID)
    if(!
pev_valid(Ent)) return
    
    
set_pdata_float(id83NextTime5)
    
    
set_pdata_float(Ent46 NextTime4)
    
set_pdata_float(Ent47NextTime4)
    
set_pdata_float(Ent48NextTime4)

Ykaru is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 01-29-2020 , 07:36   Re: THis is not doing nothing
Reply With Quote #5

why didn't u post in the same topic i edited this for you in?
what does it print when you use the command?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Ykaru
Member
Join Date: Aug 2019
Old 01-29-2020 , 08:47   Re: THis is not doing nothing
Reply With Quote #6

Quote:
Originally Posted by georgik57 View Post
why didn't u post in the same topic i edited this for you in?
what does it print when you use the command?
Sry, i forgot I can do that. I mean the plugin edited by you it does nothing, i can compile it but the command doesnt doing nothing.

Last edited by Ykaru; 01-29-2020 at 14:04.
Ykaru is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 01-29-2020 , 15:16   Re: THis is not doing nothing
Reply With Quote #7

Quote:
Originally Posted by georgik57 View Post
what does it print when you use the command?
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Ykaru
Member
Join Date: Aug 2019
Old 01-29-2020 , 17:20   Re: THis is not doing nothing
Reply With Quote #8

nothing
Ykaru is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 01-29-2020 , 17:58   Re: THis is not doing nothing
Reply With Quote #9

It can't print nothing. It will print one of the following into your console when sending the command: no access, player not found or one of the messages listed inside(success or not alive). If it doesn't print anything then it sounds like the problem is not the script.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
Ykaru
Member
Join Date: Aug 2019
Old 01-30-2020 , 14:36   Re: THis is not doing nothing
Reply With Quote #10

Quote:
Originally Posted by georgik57 View Post
It can't print nothing. It will print one of the following into your console when sending the command: no access, player not found or one of the messages listed inside(success or not alive). If it doesn't print anything then it sounds like the problem is not the script.
Man, I use that command and is not giving me any weapon.
Ykaru is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:41.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode