05.02.2016, 13:59
Hello all, Im very new in Scripting and learning it. I try to make a System when a Driver drives trough a Point that he looses 50000 Dollars. I made a Little System but when the Driver drives from the Point the System cuts 10 times the 50000 Dollars from him and he gets 10 times the same Message You losed 50000 Dollars . Where is the Error ?
I hope you can helpme thanks
Quote:
if (IsPlayerInRangeOfPoint(playerid, 7.0, 524.7834, 695.2776, 3.4381)) { GivePlayerMoney(playerid,-50000); SendClientMessage(playerid,0xFFFFFFFF,"You Losed 50000!"); } if (IsPlayerInRangeOfPoint(playerid, 7.0, 528.4603, 703.1720, 3.3147)) { GivePlayerMoney(playerid,50000); SendClientMessage(playerid,0xFFFFFFFF,"You Losed 50000!"); } |