GivePlayerWeapon
#1

Код:
  if (strcmp("/9mm", cmdtext, true, 10) == 0)
	{
	GivePlayerWeapon(playerid,22,500);
	GivePlayerMoney(playerid,-150);
	SendClientMessage(playerid,COLOR_ADMIN, "*** You have bought a 9MM Pistol - Cost: $150");
	return 1;
	}
I would like to make this command, when player hasn't got that amount it will say ''Insufficient Funds''. How do I do that?

Thanks and Regards
Puzi
Reply


Messages In This Thread
GivePlayerWeapon - by Puzi - 28.07.2009, 16:48
Re: GivePlayerWeapon - by clean180ollie - 28.07.2009, 16:50
Re: GivePlayerWeapon - by SpiderPork - 28.07.2009, 16:52
Re: GivePlayerWeapon - by Puzi - 28.07.2009, 16:55
Re: GivePlayerWeapon - by Kyle - 28.07.2009, 16:57
Re: GivePlayerWeapon - by Chrham_2 - 28.07.2009, 17:05
Re: GivePlayerWeapon - by MadeMan - 28.07.2009, 17:13
Re: GivePlayerWeapon - by Puzi - 28.07.2009, 17:14
Re: GivePlayerWeapon - by SpiderPork - 29.07.2009, 04:11

Forum Jump:


Users browsing this thread: 4 Guest(s)