Position
#7

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
Код:
	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;

	}
Reply


Messages In This Thread
Position - by TaMeD - 25.04.2009, 23:47
Re: Position - by pen_theGun - 25.04.2009, 23:54
Re: Position - by TaMeD - 26.04.2009, 00:36
Re: Position - by Backwardsman97 - 26.04.2009, 01:33
Re: Position - by TaMeD - 26.04.2009, 03:41
Re: Position - by Jaykay1979 - 01.08.2009, 15:18
Re: Position - by [KMA]Lord_Deji - 17.11.2009, 00:22

Forum Jump:


Users browsing this thread: 1 Guest(s)