Raised This Month: $ Target: $400
 0% 

move dead bodies


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 02-02-2008 , 15:05   Re: move dead bodies
Reply With Quote #2

Just set the player origin. Index of actual dead player.

Code:
public Death_Msg()
{
    new id = read_data(2);
 
    new Float:fOrigin[3];
    pev(id, pev_origin, fOrigin);
 
    fOrigin[2] += 200.0;
    set_pev(id, pev_origin, fOrigin); //can use engfunc, is more safe.
}
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
 



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 07:57.


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