[Ajuda] Comando /retirararmas !
#1

Fiz esse comando porem ele quando й executado ele retira somente minhas armas nao do id informado, ajuda ae por favor.

Код:
CMD:retirararmas(playerid, params[])
{
    new playerID,
		acstr[200]
	;
	if(Player[playerid][admin] <= 1) return SendClientMessage(playerid,azul,"Comando so para admins!");
	{
	if(sscanf(params,"d",playerID)) return SendClientMessage(playerid,azul,"Use: /retirararmas  [ID]");

	ResetPlayerWeapons(playerid);

	format(acstr,sizeof(acstr),"Suas armas foram retiradas!");
	PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
	SendClientMessage(playerID,ciano,acstr);
	}
    return 1;
}
oq tem de errado nele ?
Reply


Messages In This Thread
Comando /retirararmas ! - by TatuTM - 04.01.2016, 18:25
Re: Comando /retirararmas ! - by LockedLucas - 04.01.2016, 18:49
Respuesta: Comando /retirararmas ! - by TatuTM - 04.01.2016, 21:17
Re: Comando /retirararmas ! - by Coringa_Vilao - 04.01.2016, 21:47
Respuesta: Comando /retirararmas ! - by TatuTM - 05.01.2016, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)