server sided money question
#1

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
Reply


Messages In This Thread
server sided money question - by tommzy09 - 03.06.2016, 11:33
Re: server sided money question - by justjamie - 03.06.2016, 11:34
Re: server sided money question - by oMa37 - 03.06.2016, 11:38
Re: server sided money question - by tommzy09 - 03.06.2016, 11:40
Re: server sided money question - by Infinity - 03.06.2016, 11:41
Re: server sided money question - by justjamie - 03.06.2016, 11:43
Re: server sided money question - by tommzy09 - 03.06.2016, 11:49
Re: server sided money question - by tommzy09 - 03.06.2016, 12:35
Re: server sided money question - by ilijap - 03.06.2016, 12:59
Re: server sided money question - by Stinged - 03.06.2016, 13:05

Forum Jump:


Users browsing this thread: 1 Guest(s)