AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Problem with teleport (https://forums.alliedmods.net/showthread.php?t=302442)

VINAGHOST 10-29-2017 10:34

Problem with teleport
 
I use this code to teleport player in aim
PHP Code:

new origin[3]
get_user_origin(idorigin,3)
set_user_origin(idorigin

But when I teleport, I stuck in wall or ground

Could anyone help me to make player stand on ground or not stuck in wall ?

Sorry for my bad English ._.

HamletEagle 10-29-2017 11:06

Re: Problem with teleport
 
Search, this was asked many times.

siriusmd99 10-30-2017 01:37

Re: Problem with teleport
 
Jesus Christ, there are bunch of plugins which already have properly working stock. Why won't you use them?

For instance you can see warcraft mod, human alliance has teleport as ultimate power. And as long as I know it works very fine with no problems.


All times are GMT -4. The time now is 09:04.

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