Help me /go cmd
#1

im creating /go posx posy posz
but i have some proplames !
When i Write For Example:
/go 1959.595947 1352.792846 9.257812
its set me another place


This is Code:
Код:
CMD:go(playerid, params[])
{
	new bet;
	if(sscanf(params, "u", bet)) return SCM(playerid, -1, "USAGE:/go[floatx,floaty,floatz].");
	new Float:posx, Float:posy, Float:posz;
	GetPlayerPos(playerid, posx, posy, posz);
	SetPlayerPos(playerid,posx, posy, posz);
	new string [128];
	format(string, sizeof(string), "You Have Been Send To Your Choosen Location.");
	SCM(playerid, -1, string);
	return 1;

}
Reply


Messages In This Thread
Help me /go cmd - by Osamakurdi - 01.01.2018, 14:11
Re: Help me /go cmd - by JesterlJoker - 01.01.2018, 14:14
Re: Help me /go cmd - by Osamakurdi - 01.01.2018, 14:18
Re: Help me /go cmd - by RogueDrifter - 01.01.2018, 14:20
Re: Help me /go cmd - by Osamakurdi - 01.01.2018, 14:21

Forum Jump:


Users browsing this thread: 1 Guest(s)