[Ajuda] Estilo
#3

pawn Код:
CMD:setestilo(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,VERMELHO,"[ERRO]: Nгo pode usar este comando");
    if(sscanf(params, "uu",player,estilo)) return SendClientMessage(playerid,VERMELHO,"Use: /setestilo [id] [estilo]");
    if(!IsPlayerConnected(player)) return SendClientMessage(playerid, VERDE, "[ERRO]: Este jogador nгo estб conectado");
    GetPlayerName(playerid,nome,sizeof(nome));
    format(Str, sizeof(Str), "%s Curti й %s",nome,estilo);
    SendClientMessageToAll(VERMELHO,Str);
    return true;
}
Ah, e sу pra corrigir uma coisa, o estilo nгo й u, й s
pawn Код:
if(sscanf(params, "us",player,estilo)) return SendClientMessage(playerid,VERMELHO,"Use: /setestilo [id] [estilo]");
Reply


Messages In This Thread
Estilo - by GhosT_[] - 04.08.2012, 20:06
Re: Estilo - by Abravanel - 04.08.2012, 20:08
Re: Estilo - by humildadeforever - 04.08.2012, 20:09
Re: Estilo - by ViniBorn - 04.08.2012, 20:10
Re: Estilo - by GhosT_[] - 04.08.2012, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)