[mysql] What's wrong with this CMD ?
#6

Is a loop like that gonna work ?

Код:
foreach(new i : Player)
{
	GetPlayerName(playerid, name, sizeof(name))
	if(name == nom)
	{
		// Should I do here here:
		GetPlayerName(playerid, joueuremetteur, sizeof(joueuremetteur));
		GetPlayerName(nom, joueurdestinataire, sizeof(joueurdestinataire));
		pInfo[playerid][Banque] -= somme;
		pInfo[nom][Banque] += somme;
		format(string, sizeof(string), "%s a transferй %d $ sur votre compte bancaire. Vous avez maintenant %d $ sur votre compte.", joueuremetteur, somme, pInfo[nom][Banque]);
		SendClientMessage(nom, Jaune, string);
		format(string, sizeof(string), "Vous avez maintenant %d $ sur votre compte bancaire.", pInfo[playerid][Banque]);
		SendClientMessage(playerid, Jaune, string);
		format(string, sizeof(string), "[Admin]:%s a transferй %d $ sur le compte de %s", joueuremetteur, somme, joueurdestinataire);
		ChannelAdmin(Rouge, string);
		return 1;
	}
}
Reply


Messages In This Thread
[mysql] What's wrong with this CMD ? - by anou1 - 16.02.2014, 17:11
Re: [mysql] What's wrong with this CMD ? - by anou1 - 16.02.2014, 20:14
Re: [mysql] What's wrong with this CMD ? - by CuervO - 17.02.2014, 01:25
Re: [mysql] What's wrong with this CMD ? - by anou1 - 17.02.2014, 01:31
Re: [mysql] What's wrong with this CMD ? - by CuervO - 17.02.2014, 01:33
Re: [mysql] What's wrong with this CMD ? - by anou1 - 17.02.2014, 01:36
Re: [mysql] What's wrong with this CMD ? - by CuervO - 17.02.2014, 01:40
Re: [mysql] What's wrong with this CMD ? - by anou1 - 17.02.2014, 02:01
Re: [mysql] What's wrong with this CMD ? - by CuervO - 17.02.2014, 02:04
Re: [mysql] What's wrong with this CMD ? - by anou1 - 17.02.2014, 02:25

Forum Jump:


Users browsing this thread: 3 Guest(s)