Abusers live to abuse.
#7

so you are using a dialog? if yes I MAYBE have an idea.
This is what I have in my dialog
Code:
case 4:
	    {
	    if(GetPlayerMoney(playerid) >=8000)
	    	{
	      GivePlayerWeapon(playerid , 30 , 250);
	      GivePlayerMoney(playerid , -9000);
	      SendClientMessage(playerid,LIGHTGREEN, "=Shop= You Have Successfully Bought This Weapon");
	      }
	      else {
	      SendClientMessage(playerid,LIGHTGREEN, "You Don't Have Enough Money");
        }
What when you add this line:
Code:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 294.7390,-38.4376,1001.5156))
Then it will be this

Code:
Code:
case 4:
	    {
	    if(GetPlayerMoney(playerid) >=8000)
	    	{
          if(IsPlayerInRangeOfPoint(playerid, 2.0, 294.7390,-38.4376,1001.5156))
	      GivePlayerWeapon(playerid , 30 , 250);
	      GivePlayerMoney(playerid , -9000);
	      SendClientMessage(playerid,LIGHTGREEN, "=Shop= You Have Successfully Bought This Weapon");
	      }
	      else {
	      SendClientMessage(playerid,LIGHTGREEN, "You Don't Have Enough Money or you are not in the amunation anymore");
        }
Don't think this is gonna work but just give it a try? XD
Reply


Messages In This Thread
Abusers live to abuse. - by BP13 - 03.03.2010, 18:10
Re: Abusers live to abuse. - by Rzzr - 03.03.2010, 18:17
Re: Abusers live to abuse. - by LVFDM - 03.03.2010, 18:39
Re: Abusers live to abuse. - by am0k - 03.03.2010, 18:47
Re: Abusers live to abuse. - by Desert - 03.03.2010, 19:08
Re: Abusers live to abuse. - by BP13 - 03.03.2010, 19:10
Re: Abusers live to abuse. - by bartje01 - 03.03.2010, 20:02
Re: Abusers live to abuse. - by Rzzr - 03.03.2010, 20:17
Re: Abusers live to abuse. - by am0k - 04.03.2010, 00:23
Re: Abusers live to abuse. - by [HiC]TheKiller - 04.03.2010, 04:58

Forum Jump:


Users browsing this thread: 6 Guest(s)