/gotopos | /gotocoords
#3

Here you go
PHP код:
CMD:gotopos(playeridparams[])
{
    new 
string[75],  Float:XFloat:YFloat:Z;
    if(
sscanf(params"fff"Float:XFloat:YFloat:Z)) return SendClientMessage(playerid, -1"Usage: /gotopos [X-Y-Z]");
    
SetPlayerPos(playeridFloat:XFloat:YFloat:Z);
    
format(stringsizeof string"You are teleported to position 'X'%f 'Y'%f 'Z'%f"Float:XFloat:YFloat:Z);
    
SendClientMessage(playeridCOLOR_LIGHTGREENstring);
    return 
1;

Reply


Messages In This Thread
/gotopos | /gotocoords - by iKevin - 01.01.2016, 18:02
Re: /gotopos | /gotocoords - by Crystallize - 01.01.2016, 18:21
Re: /gotopos | /gotocoords - by saffierr - 01.01.2016, 18:32
Re: /gotopos | /gotocoords - by iKevin - 01.01.2016, 19:06
Re: /gotopos | /gotocoords - by Crystallize - 01.01.2016, 19:39
Re: /gotopos | /gotocoords - by iKevin - 01.01.2016, 23:05
Re: /gotopos | /gotocoords - by ThomasEvil - 27.03.2017, 20:28
Re: /gotopos | /gotocoords - by Dayrion - 27.03.2017, 21:15
Re: /gotopos | /gotocoords - by Unte99 - 27.03.2017, 21:46
Re: /gotopos | /gotocoords - by Dayrion - 27.03.2017, 21:48

Forum Jump:


Users browsing this thread: 3 Guest(s)