16.01.2010, 15:41
Код:
if (!strcmp("/coords", cmdtext, true))
{
new string[128];
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
format(string,sizeof(string),"(GPS) Coordinates: %f, %f", Float:X, Float:Y);
SendClientMessage(playerid, COLOR_LIME, string);
return 1;
}

