20.05.2009, 12:46
Hello. I just started to code a server from scratch. But... I need a /coords code.
Anyone know how to make it?
Anyone know how to make it?
Originally Posted by MenaceX^
/save?
|
Originally Posted by Chrham_2
Quote:
Your coords is: ............... |
Originally Posted by Don Correlli
Quote:
|
new string[128], Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(string, sizeof(string), "Co-ordinates: %f, %f, %f", X, Y, Z);
SendClientMessage(playerid, 0xFF00FFFF, string);
Originally Posted by Weirdosport
I can't see why you want the co-ords when you can get them using save, but try this:
Place this inside a command.. pawn Код:
|
Originally Posted by MenaceX^
I personaly make a few variables in main of script, and not in a public/stock or anything else. Just one with a big array.
|