map coordinates
Well i have problems with coordinates...
I have 2 questions... First: How to get coordinates of the map? Second: How to use this coordinates to teleport a player? To get the coordinates i tried to use "status" in console or "amx_teleportmenu". Then in the plugin code i writed: PHP Code:
Thx to much |
Re: map coordinates
PHP Code:
|
Re: map coordinates
Oh, thx Exolent.. work perfect.
And, how to set the angles? |
Re: map coordinates
set_pev( id, pev_angles, ?? );
|
Re: map coordinates
Mmm.. sry i dont understand at all...
you mean something like this?: PHP Code:
|
Re: map coordinates
Set angles just as you do with pev_origin except use pev_angles.
PHP Code:
PHP Code:
|
Re: map coordinates
Wow, rly thx Bugsy...
and sry Arkshine... i didnt notice the "pev_angles": Quote:
And i have a quesiton... this code is fine? PHP Code:
With /origin: Quote:
Quote:
|
Re: map coordinates
AMXX gives the exact coordinates.
Were you crouching when you did one coordinates and not the other? |
Re: map coordinates
Well dont know why the code give me differents coordinates but i didnt crouch. But this is not the problem right now... cuz the cordinates work perfect.
The problem is the angles... doesnt work... maybe cuz i get 0.0000 Z... see: PHP Code:
|
Re: map coordinates
A good method :) And it's easy to look at:
http://forums.alliedmods.net/showthr...357#post879357 The "Z" axis is the up/down. You should be in the middle of the map or so with giving it 0.0 |
| All times are GMT -4. The time now is 18:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.