19.01.2018, 17:19
Adding this seems to have solved the problem, I should've read through the include again before asking here
thank you both for your help!
thank you both for your help!
Код:
if (oldtarget != INVALID_ACTOR_ID) { ClearActorAnimations(oldtarget); if(IsRobbing[playerid] == 1) { SendClientMessage(playerid,0xFF0000FF,"You lowered your gun and abandoned the robbery."); GameTextForPlayer(playerid, "~r~Robbery Failed", 3000, 5); IsRobbing[playerid] =0; pRobCount[playerid] = 0; KillTimer(pRobTimerID[playerid]); robmoney[playerid] = 1; } }