28.12.2014, 21:22
Oh I thought you wanted it the other way around. You can still use that function how-ever, and do something like this:
This will call the function with these parameters:
OnPlayerDetectedCheat(playerid, CHEAT_MONEY);
pawn Код:
// when CASE_MONEY gets detected:
CallLocalFunction("OnPlayerDetectedCheat", "id", playerid, CHEAT_MONEY);
OnPlayerDetectedCheat(playerid, CHEAT_MONEY);