Whats wrong with this code?
#1

Код:
	if(strcmp(cmdtext, "/cbuy level", true) == 0)
	{
	if GetPlayerMoney(playerid) < 10000000
	*then
	{
	SendClientMessage(playerid,COLOR_ORANGE,"Purchase Complete. You are level 1.");
    }
  else
  {
  SendClientMessage(playerid,COLOR_LIGHTBLUE,"Error: You need at least $10,000,000 to buy level.");
  }
	
	return 1;
	}
no matter what, i always get error saying not enough cash.
Reply


Messages In This Thread
Whats wrong with this code? - by CJ101 - 18.02.2009, 20:29
Re: Whats wrong with this code? - by darkrider366 - 18.02.2009, 20:36
Re: Whats wrong with this code? - by Marcel - 18.02.2009, 20:44
Re: Whats wrong with this code? - by Lazarus - 18.02.2009, 20:51
Re: Whats wrong with this code? - by Marcel - 18.02.2009, 21:01
Re: Whats wrong with this code? - by Lazarus - 18.02.2009, 21:03

Forum Jump:


Users browsing this thread: 2 Guest(s)