Raised This Month: $ Target: $400
 0% 

Solved spin my screen ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 06-30-2017 , 05:42   Re: spin my screen ?
Reply With Quote #1

Sorry but why do not you work with the dead player?
this what i try ? is there wrong
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <engine>
#include <fakemeta>


public plugin_init(){
    
    
register_plugin("HL Death Style","0.0","abdobiskra")
    
    
RegisterHam(Ham_Killed,"player","fw_PlayerKilled"1)
    
RegisterHam(Ham_Spawn,"player","fw_PlayerSpawn"1)
    
    
register_forward(FM_AddToFullPack"fwFmAddToFullPack"1);
}

public 
fw_PlayerKilled(id)
{
    if(
is_user_alive(id))
        return
    
set_pev(idpev_punchangle, { 0.0,0.0,180.0 })
    
set_view(idCAMERA_3RDPERSON)
    
}

public 
fw_PlayerSpawn(id)
{
    
    if(!
is_user_alive(id))
        return
    
    
set_view(idCAMERA_NONE)
    
set_pev(idpev_punchangle, { 0.0,0.00.0 })
    
//entity_set_vector(id, EV_VEC_punchangle, Float: { 0.0, 0.0, 0.0});
}
public 
fwFmAddToFullPack(es_handleeenthostflagsplayerpSet)
{
    if (!
player || host != ent )
        return;
        
    
set_es(es_handleES_RenderModekRenderNormal


btw my ida to make similar like this :
https://www.youtube.com/watch?v=HIbsYrZvXbg
__________________

Last edited by abdobiskra; 06-30-2017 at 05:44.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
Reply



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 23:11.


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