Raised This Month: $ Target: $400
 0% 

bouncing player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 09-28-2007 , 09:09   Re: bouncing player
Reply With Quote #9

My guess is that MOVEMENT_BOUNCE doesn't work with players.
But I've never tryed it myself.

This is not a working code, ent is undefined.
Code:
#include <amxmodx> #include <fakemeta> public test() {         new ent;         new Float:origin[3], Float:p_origin[3];     pev(ent, pev_origin, origin);         new i, maxplayers = get_maxplayers()         while ( i++ < maxplayers ) {                 if ( ! is_user_connected(i) || ! is_user_alive(i) )             continue;                 pev(ent, pev_origin, origin);                 if ( get_distance() > 1000 )             continue;                 set_pev(i, pev_movetype, MOVETYPE_BOUNCE)     } }

Last edited by [ --<-@ ] Black Rose; 09-28-2007 at 09:36.
[ --<-@ ] Black Rose 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 16:12.


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