Making /goto player command in Ysi/y_ini
#4

PHP код:
CMD:goto(playeridparams[])
{
    new 
id;
    if(
sscanf(params"u"id)) return SendClientMessage(playerid, -1"USAGE: goto [playerid]");
    else if(!
IsPlayerConnected(id)) return SendClientMessage(playerid, -1"USAGE: goto [playerid]");
    else
    {
        new 
Float:xFloat:yFloat:z;
        
GetPlayerPos(idxyz);
        
SetPlayerPos(idxyz);
    }
    return 
true;

Reply


Messages In This Thread
Making /goto player command in Ysi/y_ini - by alekschowee - 04.07.2016, 21:16
Re: Making /goto player command in Ysi/y_ini - by Misiur - 04.07.2016, 21:25
Re: Making /goto player command in Ysi/y_ini - by Quinncell - 05.07.2016, 11:46
Re: Making /goto player command in Ysi/y_ini - by iKarim - 05.07.2016, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)