[Ajuda] Comandos nao funcionam
#5

CMD:dararma(playerid, params[])
{
new ID, Arma, Municao, string[134];

if(!IsPlayerAdmin(playerid))
return SendClientMessage(playerid, Vermelho, "| ERRO | Vocк nгo tem permissгo!");

if(sscanf(params, "udd", ID, Arma, Municao))
return SendClientMessage(playerid, Vermelho, "| ERRO | Use: /DarArma [ID] [Arma] [Muniзгo]");

if(!IsPlayerConnected(ID))
return SendClientMessage(playerid, Vermelho, "| ERRO | ID Invбlido!");

format(string, sizeof(string), "| INFO | O(A) Administrador(a) %s (%d) Gerou para vocк a Arma {FF0000}%d {1E90FF}com {FF0000}%d {1E90FF}Muniзхes!", pNome(playerid), playerid, Arma, Municao);
SendClientMessage(ID, Azul, string);

GivePlayerWeapon(ID, Arma, Municao);
return 1;
}
Reply


Messages In This Thread
Comandos nao funcionam - by HusteD - 08.08.2018, 15:24
Re: Comandos nao funcionam - by MtPlayerZ - 08.08.2018, 15:31
Re: Comandos nao funcionam - by HusteD - 08.08.2018, 16:05
Re: Comandos nao funcionam - by MtPlayerZ - 08.08.2018, 16:23
Re: Comandos nao funcionam - by HusteD - 08.08.2018, 22:06
Re: Comandos nao funcionam - by wearLy - 08.08.2018, 22:21
Re: Comandos nao funcionam - by HusteD - 08.08.2018, 23:02
Re: Comandos nao funcionam - by ipsLuan - 09.08.2018, 00:12
Re: Comandos nao funcionam - by MtPlayerZ - 09.08.2018, 14:28
Re: Comandos nao funcionam - by SIZET - 09.08.2018, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)