Works only with id 0.
#5

Your code is wrong.

PHP код:
CMD:goto(playeridparams[]) {
    new 
toplayeridFloat:pos[3];
    if(
sscanf(params"u"toplayerid)) return SendClientMessage(playeridcolor_grey"UTILIZARE:/goto <id>"); //You can do /goto <name or ID> now.
    
if(!IsPlayerConnected(toplayerid)) return SendClientMessage(playeridcolor_grey"Acest jucator nu este connectat");
    
GetPlayerPos(toplayeridpos[0], pos[1], pos[2]);
    
SetPlayerPos(playeridpos[0], pos[1], pos[2]);
    return 
1;

Reply


Messages In This Thread
Works only with id 0. - by SpikeSpigel - 30.10.2015, 16:54
Re: Works only with id 0. - by iFiras - 30.10.2015, 16:55
Re: Works only with id 0. - by ATGOggy - 30.10.2015, 16:55
Re: Works only with id 0. - by SpikeSpigel - 30.10.2015, 16:58
Re: Works only with id 0. - by J0sh... - 30.10.2015, 17:01
Re: Works only with id 0. - by Macluawn - 30.10.2015, 18:50

Forum Jump:


Users browsing this thread: 1 Guest(s)