A Position Command?
#3

pawn Код:
if (strcmp("/pos", cmdtext, true, 10) == 0)
{
new Float:X;
new Float:Y;
new Float:Z;
new string[128];

format(string, sizeof(string), "You're current position is %f %f %f", Float:X, Float:Y, Float:Z);
SendClientMessage(playerid, color ,string); // change "color" to the color you want
return 1;
}
Untested.
Reply


Messages In This Thread
A Position Command? - by Paradise671 - 02.08.2009, 13:18
Re: A Position Command? - by saiberfun - 02.08.2009, 13:25
Re: A Position Command? - by Klutty - 02.08.2009, 14:36
Re: A Position Command? - by SpiderPork - 02.08.2009, 14:39
Re: A Position Command? - by Klutty - 02.08.2009, 14:47

Forum Jump:


Users browsing this thread: 1 Guest(s)