[Pedido] Comando /localizar
#2

PHP код:
CMD:localizar(playeridparams[])
{
    new 
id,string[90], FloatPos[3];
    if(
sscanf(params), "d"id) return 1;
    if(!
IsPlayerConnected(id)) return 1;
    
format(stringsizeof(string), "Vocк localizou ID:%d",id);
    
GetPlayerPos(idPos[0], Pos[1], Pos[2]);
    
SetPlayerCheckpoint(playeridPos[0], Pos[1], Pos[2], 3.0);
    return 
SendClientMessage(playerid,-1string);

Se quiser que fique atualizando, crie um timer.
Reply


Messages In This Thread
Comando /localizar - by Japis - 21.04.2017, 15:23
Re: Comando /localizar - by IlanZ - 21.04.2017, 15:31
Re: Comando /localizar - by Japis - 21.04.2017, 15:41
Re: Comando /localizar - by IlanZ - 21.04.2017, 15:59
Re: Comando /localizar - by Scorpion659 - 21.04.2017, 16:04
Re: Comando /localizar - by IlanZ - 21.04.2017, 16:07
Re: Comando /localizar - by AuhMaru - 21.04.2017, 16:25
Re: Comando /localizar - by Japis - 14.06.2017, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)