03.06.2016, 11:33
okay, so on my server, when someone dies and loses $100, for some reason the anticheat has a spasm.
if(GetPlayerCash(playerid) < GetPlayerMoney(playerid))
{
-anticheat code here-
}
i was wondering how to make it only detect when say, GetPlayerMoney is more than 101 for example.
if(GetPlayerCash(playerid) < 100 of GetPlayerMoney(playerid))
but adding it like that in the script doesn't work. how do i go about making that check in 1 singular line? by that check i mean the <100
if(GetPlayerCash(playerid) < GetPlayerMoney(playerid))
{
-anticheat code here-
}
i was wondering how to make it only detect when say, GetPlayerMoney is more than 101 for example.
if(GetPlayerCash(playerid) < 100 of GetPlayerMoney(playerid))
but adding it like that in the script doesn't work. how do i go about making that check in 1 singular line? by that check i mean the <100