09.11.2012, 10:38
You need first to format the string before you use it !
pawn Код:
if (strcmp("/location", cmdtext, true, 10) == 0)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid, x,y,z);
new string[50];
format(string,sizeof(string),"%f,%f,%f",x,y,z);
SendClientMessage(playerid, COLOR_RED, string);
return 1;
}