code to get player position.
#4

Код:
 

// Command to get the position / Score
new Float:X, Float:Y, Float:Z
GetPlayerPos(playerid,Z,Y,Z);

new string[128];
format(string, sizeof(string), "Score: %i Position %f, %f, %f")",GetPlayerScore(playerid), X, Y, Z);
SendClientMessage(playerid, 0xFFFFFFAA, string);
UNTESTED
Reply


Messages In This Thread
code to get player position. - by budelis - 13.09.2011, 13:16
Re: code to get player position. - by Kingunit - 13.09.2011, 13:36
Re: code to get player position. - by budelis - 13.09.2011, 16:40
Re: code to get player position. - by Zonoya - 13.09.2011, 16:47
Re: code to get player position. - by budelis - 13.09.2011, 18:41
Re: code to get player position. - by Berky - 13.09.2011, 18:55
Re: code to get player position. - by budelis - 14.09.2011, 15:15
Re: code to get player position. - by Universal - 14.09.2011, 15:21
Re: code to get player position. - by budelis - 15.09.2011, 12:52
Re: code to get player position. - by budelis - 16.09.2011, 18:04

Forum Jump:


Users browsing this thread: 3 Guest(s)