17.11.2009, 00:22
i took your codes and edited them
i end up with this witch work well
i know you prefer to put "GROVE" green color but i put white on mine
i end up with this witch work well
i know you prefer to put "GROVE" green color but i put white on mine
Код:
if(strcmp(cmdtext, "/whereami", true) == 0 && IsPlayerAdmin(playerid)) { new Float:px, Float:py, Float:pz; GetPlayerPos(playerid, px, py, pz); new wherestringx[30]; new wherestringy[30]; new wherestringz[30]; format(wherestringx,sizeof(wherestringx),"** Position: X: %f **", px); format(wherestringy,sizeof(wherestringy),"** Position: Y: %f **", py); format(wherestringz,sizeof(wherestringz),"** Position: Z: %f **", pz); SendClientMessage(playerid, COLOR_WHITE, "Your Coordinate are also display in host console"); SendClientMessage(playerid, COLOR_WHITE, wherestringx); SendClientMessage(playerid, COLOR_WHITE, wherestringy); SendClientMessage(playerid, COLOR_WHITE, wherestringz); print(wherestringx); print(wherestringy); print(wherestringz); return 1; }