Strange bug in /setmoney command.
#8

Код:
CMD:givemoney(playerid, params[])
{
	new targetid, ammount;
	if(sscanf(params,"ui", targetid, ammount)) return SendClientMessage(playerid, COLOR_YELLOW,"/givemoney [PlayerID] [Ammount]");
	if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You are not authorised to use this command.");
	if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_YELLOW,"That player is not connected to your server!");
	GivePlayerMoney(targetid, ammount);
	return 1;
}
try this for me working
without error
Reply


Messages In This Thread
Strange bug in /setmoney command. - by ricardo178 - 14.02.2012, 13:11
Re: Strange bug in /setmoney command. - by demonarn - 14.02.2012, 14:14
Re : Strange bug in /setmoney command. - by ricardo178 - 14.02.2012, 14:56
Re: Strange bug in /setmoney command. - by bestr32 - 18.03.2012, 15:35
Re: Strange bug in /setmoney command. - by bestr32 - 18.03.2012, 15:37
Re: Strange bug in /setmoney command. - by bestr32 - 18.03.2012, 15:39
Re: Strange bug in /setmoney command. - by Shabi RoxX - 18.03.2012, 15:48
Re: Strange bug in /setmoney command. - by Alexy_Dramon - 18.03.2012, 15:50
Re: Strange bug in /setmoney command. - by Ronaldo_raul™ - 18.03.2012, 15:58
Re: Strange bug in /setmoney command. - by HoussamMaroc - 26.07.2017, 23:09

Forum Jump:


Users browsing this thread: 2 Guest(s)