Raised This Month: $ Target: $400
 0% 

+jump


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SubFive
Senior Member
Join Date: Dec 2005
Location: USA
Old 12-10-2005 , 22:00   +jump
Reply With Quote #1

I would have used this from the doc:
Code:
public MovePlayer(id) {     new origin[3]     get_user_origin(id, origin, 0)  // Gets the current location the player is at     origin[2] = origin[2] + 10    // Adds + 10 to the player's height     set_user_origin(id, origin)   // Moves the player to the location stored in origin }
But that could be abused so people went through the ceilings when the ceilings are low. I searched and looked through bunny hop scripts, #define IN_JUMP, #define FL_ONGROUND, #define FL_WATERJUMP, and couldn't piece it together to make it work.

What I'm trying to do is that when the function is executed, it makes the player jump, so this way he can't go through the ceiling.
SubFive is offline
 


Thread Tools
Display Modes

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 15:45.


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