Displaying position?
#8

Quote:
Originally Posted by radhakr
Quote:
Originally Posted by Brendan_Thomson
Define string with a size of 128, NOT 256.
Exactly. I'd also use zcmd.
Seconded, using ZCMD:

pawn Код:
cmd(mypos, playerid, params[])
{
new string[128], Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
format(string, sizeof(string), "* You are at: %f, %f, %f.");
SendClientMessage(playerid, COLOR, string);
return 1;
}
Reply


Messages In This Thread
Displaying position? - by jameskmonger - 11.11.2009, 19:26
Re: Displaying position? - by CAR - 11.11.2009, 19:36
Re: Displaying position? - by smoker08 - 11.11.2009, 19:39
Re: Displaying position? - by radhakr - 11.11.2009, 19:46
Re: Displaying position? - by smoker08 - 11.11.2009, 19:55
Re: Displaying position? - by Brendan_Thomson - 11.11.2009, 20:22
Re: Displaying position? - by radhakr - 11.11.2009, 20:50
Re: Displaying position? - by (.Aztec); - 11.11.2009, 20:53
Re: Displaying position? - by Daren_Jacobson - 11.11.2009, 21:07
Re: Displaying position? - by (.Aztec); - 11.11.2009, 21:09

Forum Jump:


Users browsing this thread: 2 Guest(s)