17.01.2015, 15:11
The following line
I tried to put "/" instead of "%" (with quotes) but now it is debugging only that line . I mean if i use /givepp 0 1 (as 1 is divisible by 0.25 and it divides 1 totally without any remainder ) it gives me the error "only amounts that are divisble by 0.25 can be given and if i use and number that isn't divisble by 0.25 then i have that same error e.g. 2.10
PHP код:
if(amount % 0.25 != 0.0)return SendClientMessage(playerid, -1, "» "red"Only amounts that are divisible by 0.25 can be given.");
