26.04.2009, 00:36
Ok, I that fixed the errors, however, it doesn't show all coordinates.

As you can see, it only shows the X coordinate
pawn Код:
if(strcmp(cmdtext, "/whereami", true) == 0)
{
new Float:px, Float:py, Float:pz;
GetPlayerPos(playerid, px, py, pz);
new wherestring[30];
format(wherestring,sizeof(wherestring),"** Position: X: %f Y: %f Z: %f **", px, py, pz);
SendClientMessage(playerid, GROVE, wherestring);
return 1;
}

As you can see, it only shows the X coordinate