17.08.2011, 16:56
Quote:
Use s obeits, and look at the Tele numbers right down at the s obeits bar : X, Y, Z, [UniversalWord ID]
|
pawn Код:
if(strcmp(cmdtext, "/getpos", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new Float:pos[3], str[100];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
format(str, sizeof str, "X: %.2f | Y: .2f | Z: .2f", pos[0], pos[1], pos[2]);
}
else return SendClientMessage(playerid, 0xFFFFFF, "You have no permmission to use this command");
}