Problem in CMDS on my GM +1Rep
#7

Quote:
Originally Posted by FplayerGR
Посмотреть сообщение
if your problem this
Код:
if(sscanf(params, "ud", target, amount)) return SendClientMessage(playerid, 0xFF0000C8, "Bounty Information:{FFFFFF} /givebounty [target] [bounty amount]");

	if(target == playerid) return SendClientMessage(playerid, 0xFFFFFF00, "Bounty Information:{FFFFFF} You can't set a bounty on your self.");
use in sscanf 'rd' r = playerid / name.


Код:
if(sscanf(params, "rd", target, amount)) return SendClientMessage(playerid, 0xFF0000C8, "Bounty Information:{FFFFFF} /givebounty [target] [bounty amount]");
No, that sscanf code IS correct.
Reply


Messages In This Thread
Problem in CMDS on my GM +1Rep - by Charalambos26 - 25.05.2015, 14:10
Re: Problem in CMDS on my GM +1Rep - by Ghazal - 25.05.2015, 14:11
Re: Problem in CMDS on my GM +1Rep - by FplayerGR - 25.05.2015, 14:12
Re: Problem in CMDS on my GM +1Rep - by Charalambos26 - 25.05.2015, 14:13
Re: Problem in CMDS on my GM +1Rep - by FplayerGR - 25.05.2015, 14:24
Re: Problem in CMDS on my GM +1Rep - by Charalambos26 - 25.05.2015, 14:31
Re: Problem in CMDS on my GM +1Rep - by J0sh... - 25.05.2015, 14:36
Re: Problem in CMDS on my GM +1Rep - by Charalambos26 - 25.05.2015, 14:41

Forum Jump:


Users browsing this thread: 3 Guest(s)