How to find position
#7

Quote:
Originally Posted by driftg0d
Посмотреть сообщение
Sure.

Код:
CMD:pos(playerid,params[])
{
	new Float:x, Float:y, Float:z, msg[254];
	GetPlayerPos(playerid,x,y,z);
	format(msg,sizeof(msg),"Your current pos: X:%d Y:%d Z:%d",x,y,z);
	SendClientMessage(playerid,-1,msg);
	return 1;
}
Ok thanks i will give rep but i need to wait 24 hours ill give after that remind me


And this:
Код:
CMD:pos(playerid, params[])
{
    new Message[200], Float:x, Float:y, Float:z;

    GetPlayerPos(playerid, x, y, z);
    format(Message, sizeof(Message), "Location: X%4.2f, Y%4.2f, Z%4.2f", x, y, z);
    SendClientMessage(playerid, 0xFFFFFFFF, Message);
    return 1;
}
Ill try it thanks
Reply


Messages In This Thread
How to find position - by Ejcrushing - 03.01.2014, 19:10
Re: How to find position - by driftg0d - 03.01.2014, 19:12
Re: How to find position - by iOxide - 03.01.2014, 19:12
Re: How to find position - by Ejcrushing - 03.01.2014, 19:18
Re: How to find position - by driftg0d - 03.01.2014, 19:21
Re: How to find position - by iOxide - 03.01.2014, 19:21
Re: How to find position - by Ejcrushing - 03.01.2014, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)