set/get_user_origin problem
ok guys... need help with this script...
it suppose to move slowly forward ( the same way as the player is aiming ) but it teleports you over the hole map in one second :S and its not any problem with set task is to fast... its the set/get_user_origin() and/or origin[1]++ i think heres the scripts Code:
|
Here:
Code:
Code:
Also better check mapname only once in plugin init. If map equal your map name then set ad. task and register +/- commands. |
ok with some thinking i understand that the origin that was saved was the one on aiming point... i thought it was players location but in the direction he was looking... :oops:
so you're telling me i should do Code:
how would you make him move forward... in the direction of players eyes? not the direction of the map's "forward" |
|
thank you VEN! :D
|
| All times are GMT -4. The time now is 20:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.