if(strcmp(cmd, "/getcoords", true) == 0)
{
if(IsAdmin == 1)
{
new str[256];
new pPos = GetPlayerPos(playerid, x, y, z);
format(str, sizeof(str), "%d", pPos);
SendClientMessage(playerid, COLOR_YELLOW, str);
}
return 1;
}
/*Please don't ask about IsAdmin.... just a easier way to write IsPlayerAdmin(playerid)
Ok.... what do i have to do to get this post the my location (in coords..)?
This should send client a message: 8234.8834 324.534 43.6 for an example....
But it's just writing 1
WHAT TO DO!!!???*/