[Ajuda] Comando DarArma
#1

Estou com um comando de dar arma mas ele esta em ZCMD mas eu quero em strcmp alguem poderia converter pra mim pf

Код:
CMD:dararma(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 2)
	return SendClientMessage(playerid,Vermelho,"Vocк nгo tem permissгo para isso!");
	new ID,IDA,BLS;
	if(sscanf(params,"unn",ID,IDA,BLS))
	return SendClientMessage(playerid,Vermelho,"USE: /dararma [id] [id da arma] [muniзгo]");
	if(!IsPlayerConnected(ID))
	return SendClientMessage(playerid,Vermelho,"O jogador nгo estб conectado");
	GivePlayerWeapon(ID,IDA,BLS);
	new string[128];
	new str[100];
	format(str,sizeof(str),"Vocк deu б %s uma arma ID: %d com %d de muniзгo!",GetPlayerNameEx(ID),IDA,BLS);
	SendClientMessage(playerid,Azul,str);
	format(string,sizeof(string),"O(a)Administrador(a) %s lhe deu uma arma ID: %d com %d de muniзгo!",GetPlayerNameEx(playerid),IDA,BLS);
	SendClientMessage(ID,Azul,string);
	return 1;
}
Sу peзo isso,quem quiser ajudar ficarei muito grato
Reply


Messages In This Thread
Comando DarArma - by GhosT_[] - 06.07.2012, 12:31
Re: Comando DarArma - by F_Cinco - 06.07.2012, 12:36
Re: Comando DarArma - by blacktrindade - 06.07.2012, 12:36
Re: Comando DarArma - by GhosT_[] - 06.07.2012, 12:40
Re: Comando DarArma - by blacktrindade - 06.07.2012, 12:43
Re: Comando DarArma - by F_Cinco - 06.07.2012, 12:43
Re: Comando DarArma - by humildadeforever - 06.07.2012, 12:44
Re: Comando DarArma - by GhosT_[] - 06.07.2012, 12:51
Re: Comando DarArma - by blacktrindade - 06.07.2012, 12:53
Re: Comando DarArma - by GhosT_[] - 06.07.2012, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)