[Ajuda] Warning
#4

Quote:
Originally Posted by ViniKuliveguisky
Посмотреть сообщение
Vocк tem que utilizar um format para poder inserir nomes e etc.

pawn Код:
if(strcmp(cmd, "/Desarmar", true) == 0)
{
    if(GetPlayerLevel(playerid) < 4) return SendClientMessage(playerid,0x007FFFAA,"|Admin|:Vocк Nгo Tem Permissгo De Usar Esse Comando");
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        SendClientMessage(playerid,0x007FFFAA,"|Admin|:Use:/Desarmar [ID]");
        return 1;
    }
    ResetPlayerWeapons(playerid);
    new vini[80];
    format(vini, sizeof(vini), "|Admin|:Vocк Desarmou O Player %s Com Sucesso",giveplayer);
    SendClientMessage(playerid,0x007FFFAA, vini);
    printf("|Log|:O Admin %s Desarmou O Player %s",NomePlayer,giveplayer);
    return 1;
}
Vlw Cara +rep
Reply


Messages In This Thread
Warning - by Douglas651 - 09.12.2013, 12:46
Respuesta: Warning - by ViniKuliveguisky - 09.12.2013, 12:54
Re: Warning - by 22 - 09.12.2013, 12:55
Re: Respuesta: Warning - by Douglas651 - 09.12.2013, 12:58
Respuesta: Warning - by ViniKuliveguisky - 09.12.2013, 13:00

Forum Jump:


Users browsing this thread: 1 Guest(s)