Raised This Month: $ Target: $400
 0% 

Prokreedz help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Salepate
Junior Member
Join Date: Jan 2007
Old 01-17-2007 , 08:00   Re: Prokreedz help
Reply With Quote #4

You should try this :
Code:
public func(id) {     new Float _velocity[3];     entity_get_vector(id, EV_VEC_velocity, p_velocity)     if ( p_velocity[2] < 0.0 ) {         client_print(id, print_chat, "[AMXX] You can't make checkpoint while falling");         return PLUGIN_HANDLED;     }     // Else the player is just standing or Jumping }
But this not very advanced, because if a player is just going downstair or something like that it can handle because Z-velocity goes under 0

In my opinion it should be enough for you that's it !
Salepate 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 22:21.


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