03.03.2010, 20:02
so you are using a dialog? if yes I MAYBE have an idea.
This is what I have in my dialog
What when you add this line:
Then it will be this
Don't think this is gonna work but just give it a try? XD
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"); }
Code:
if(IsPlayerInRangeOfPoint(playerid, 2.0, 294.7390,-38.4376,1001.5156))
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"); }