[Ajuda] Sscanf
#1

Bom Pessoal estou com um problema no sscanf, o problema й que quando eu vou digitar /darlicencas [ID]
Aparece " Este jogador nгo estб conectado " Aparece para o id 0 e os proximos ids., Gostaria que pega-se para o jogador que estб online.

Estou fazendo de modo incorreto ?

PHP код:
CMD:darlicencas(playeridparams[])
{
    new 
id;
     if(
sscanf(params"u"id)) return SendClientMessage(playerid,0xB9B9B9FF,"USE: /darlicencas [ID]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playerid, -1"Este jogador nгo estб conectado");
    
Player[id][qLicAero] = 1;
    
Player[id][qLicBarco] = 1;
    
Player[id][qLicArma] = 1;
    
Player[id][qLicMoto] = 1;
    
Player[id][qLicCarro] = 1;
    
SendClientMessage(playerid,0x6B82F4FF,"Vocк deu todas as licenзas ao jogador.");
    return 
true;

Reply


Messages In This Thread
Sscanf - by PetterAdriano - 16.11.2013, 23:39
Re: Sscanf - by Ley - 17.11.2013, 00:13
Re: Sscanf - by PetterAdriano - 17.11.2013, 00:17
Re: Sscanf - by Ley - 17.11.2013, 00:24
Re: Sscanf - by PetterAdriano - 17.11.2013, 00:31
Re: Sscanf - by Ley - 17.11.2013, 00:33
Re: Sscanf - by PetterAdriano - 17.11.2013, 00:35
Respuesta: Sscanf - by DanDRT - 17.11.2013, 01:03
Re: Sscanf - by Gii - 17.11.2013, 01:04
Re: Sscanf - by PetterAdriano - 17.11.2013, 01:14

Forum Jump:


Users browsing this thread: 1 Guest(s)