[Ajuda] Sscanf
#9

pawn Код:
CMD:darlicencas(playerid, params[]) {

    if ( isnull(params) )
        return SendClientMessage(playerid,0xB9B9B9FF,"USE: /darlicencas [ID]");

    new id = strval(params);

    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 1;
}
https://sampforum.blast.hk/showthread.php?tid=120356

De uma olhada na parte onde fala sobre os especificadores.
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)