[Pedido] Comando para setar e puxar jogadores
#2

PHP код:
CMD:setarid(playeridparams[])
{
    new 
id;
    if(
sscanf(params"d"id))
        return 
SendClientMessage(playeridcolor"Use: /setarid id");
    
SpawnPlayer(id);
    
SendClientMessage(idcolor"Vc foi setado por um adm");
    return 
1;

Nгo testei o debaixo

PHP код:
CMD:setarperto(playerid)
{
    new 
Pos[3];
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
    for(new 
iMAX_PLAYERS+1i++)
    {
        if(
IsPlayerInRangeOfPoint(i50.0Pos[0], Pos[1], Pos[2]))
        {
            
SpawnPlayer(i);
        }
    }
    return 
1;

Reply


Messages In This Thread
Comando para setar e puxar jogadores - by Fix3r - 10.02.2017, 18:14
Re: Comando para setar e puxar jogadores - by IlanZ - 10.02.2017, 18:17
Re: Comando para setar e puxar jogadores - by Showzs - 10.02.2017, 18:22
Re: Comando para setar e puxar jogadores - by Fix3r - 10.02.2017, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)