Raised This Month: $ Target: $400
 0% 

Player stuck on the ground


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-26-2011 , 09:47   Re: Player stuck on the ground
Reply With Quote #4

You could search the func wiki.

http://www.amxmodx.org/funcwiki.php?...igin&go=search

Searching with "origin" you could have found natives get_user_origin and set_user_origin. There is actually an example for moving player origin's height 10 units in the set_user_origin page. This might be handy for you.

Quote:
Example:
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 players hight     set_user_origin(id,origin)   // Moves the player to the location stored in origin }
SnoW is offline
Send a message via MSN to SnoW
 



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 00:55.


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