15.08.2016, 08:43
Control structures can help you(such as 'if')
My code..
My code..
PHP код:
if(ACStatus[CHEAT_WEAPONHACK])
{
if(!Player[playerid][DoingSomething]) //will not execute if player DoingSomething
{
//some stuff
{
CallLocalFunction("OnPlayerCheat", "dd", CHEAT_WEAPONHACK, playerid);
}
}
}