Pev ( id, pev_v_angle, vAngle ) // if normal entity ,use pev_anglesĪngle_vector ( vAngle, ANGLEVECTOR_FORWARD, vForward ) //or use EngFunc_AngleVectorsĪngle_vector ( vAngle, ANGLEVECTOR_RIGHT, vRight )Īngle_vector ( vAngle, ANGLEVECTOR_UP, vUp ) Pev ( id, pev_view_ofs, vUp ) //for player Static Float : vOrigin, Float : vAngle, Float : vForward, Float : vRight, Float : vUp Stock get_position ( id, Float : forw, Float : right, Float : up, Float : vStart ) Set_pdata_float ( entwpn, 48, TimeIdle + 0.5, WEAP_LINUX_XTRA_OFF )Įngfunc ( EngFunc_MessageBegin, MSG_PAS, SVC_TEMPENTITY, vecEnd, 0 )Įngfunc ( EngFunc_WriteCoord, vecEnd )Įngfunc ( EngFunc_WriteCoord, vecEnd - 5 ) Set_pdata_float ( entwpn, 47, TimeIdle, WEAP_LINUX_XTRA_OFF ) Set_pdata_float ( entwpn, 46, TimeIdle, WEAP_LINUX_XTRA_OFF ) Static entwpn entwpn = fm_get_user_weapon_entity ( id, WeaponId ) Stock set_weapons_timeidle ( id, WeaponId, Float : TimeIdle ) Set_pdata_float ( id, m_flNextAttack, nexttime, 5 ) Stock set_player_nextattackx ( id, Float : nexttime ) UTIL_PlayWeaponAnimation ( id, sfpistol_RELOAD ) Set_pdata_int ( weapon_entity, m_fInReload, 1, WEAP_LINUX_XTRA_OFF ) Set_player_nextattackx ( id, sfpistol_RELOAD_TIME ) Set_weapons_timeidle ( id, CSW_P228, sfpistol_RELOAD_TIME ) Set_pdata_int ( weapon_entity, m_iClip, g_sfpistol_TmpClip, WEAP_LINUX_XTRA_OFF ) New id = pev ( weapon_entity, pev_owner ) Public sfpistol_Reload_Post ( weapon_entity ) Get_position ( id, 32.0, 0.0 , - 18.0, Origin )Įngfunc ( EngFunc_MessageBegin, MSG_ONE_UNRELIABLE, SVC_TEMPENTITY, Origin, id )Įngfunc ( EngFunc_WriteCoord, Origin ) If (( eventid != g_orig_event_sfpistol ) || ! g_IsInPrimaryAttack ) Public fwPlaybackEvent ( flags, invoker, eventid, Float : delay, Float : origin, Float : angles, Float : fparam1, Float : fparam2, iParam1, iParam2, bParam1, bParam2 ) G_clip_ammo = cs_get_weapon_ammo ( Weapon ) Pev ( Player, pev_punchangle, cl_pushangle ) New Player = get_pdata_cbase ( Weapon, 41, 4 ) Public fw_sfpistol_PrimaryAttack ( Weapon ) Set_cd ( CD_Handle, CD_flNextAttack, halflife_time () + 0.001 ) Public fw_UpdateClientData_Post ( Player, SendWeapons, CD_Handle ) UTIL_PlayWeaponAnimation ( id, sfpistol_DRAW ) Set_pev ( id, pev_weaponmodel2, sfpistol_P_MODEL ) Set_pev ( id, pev_viewmodel2, sfpistol_V_MODEL ) New id = get_pdata_cbase ( Weapon, 41, 4 ) Set_weapons_timeidle ( id, CSW_P228, 0.5 ) UTIL_PlayWeaponAnimation ( id, sfpistol_SHOOTEND ) If(!( pev ( id, pev_oldbuttons ) & IN_ATTACK ))Įmit_sound ( id, CHAN_WEAPON, "common/null.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ) If( get_pdata_float ( ent, 46, WEAP_LINUX_XTRA_OFF ) > 0.0 || get_pdata_float ( ent, 47, WEAP_LINUX_XTRA_OFF ) > 0.0 ) Static ent ent = fm_get_user_weapon_entity ( id, CSW_P228 ) If( get_user_weapon ( id ) != CSW_P228 || ! g_has_sfpistol ) If(! is_user_alive ( id ) || ! is_user_connected ( id )) Public fw_CmdStart ( id, uc_handle, seed ) Message_begin ( MSG_BROADCAST, SVC_TEMPENTITY )Įngfunc ( EngFunc_WriteCoord, flAim ) Message_begin ( MSG_ONE, gmsgWeaponList, _, id )Ĭs_set_user_bpammo ( id, CSW_P228, 90 ) Set_weapons_timeidle ( id, CSW_P228, 1.0 ) The good news, if you have any of the above cases, you have not to worry anymore.Cs_set_weapon_ammo ( iWep2, get_pcvar_num ( cvar_clip_sfpistol ))Ĭs_set_user_bpammo ( id, CSW_P228, get_pcvar_num ( cvar_sfpistol_ammo )) #Cs 1.6 zip filr portable#So, if you have an old potato PC with very bad specifics, no worries, download cs 1.6 portable and start instantly! It’s a service which allows you to locate a computer with internet access for a limited time.ĭrag and Play: No installation means also that won’t be necessarily waiting for the installation time to start playing. Another known case is the Cyber Cafe if you don’t know what is it. #Cs 1.6 zip filr install#The case it much known in school, if you want to play with your friends there, there’s a big chance that you won’t be able to install the game at all. Which means, if you are a normal user you won’t be able to install the game, so you can’t play it! No Installation: If you download a normal cs 1.6 setups, you have to install it. Counter-Strike 1.6 portable have a good advantage over other setup files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |