OnPlayerTargetActor robberies
#5

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!

Код:
    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;
	    }

    }
Reply


Messages In This Thread
OnPlayerTargetActor robberies - by Ducati - 19.01.2018, 00:56
Re: OnPlayerTargetActor robberies - by RogueDrifter - 19.01.2018, 01:27
Re: OnPlayerTargetActor robberies - by Ducati - 19.01.2018, 16:52
Re: OnPlayerTargetActor robberies - by Misiur - 19.01.2018, 17:09
Re: OnPlayerTargetActor robberies - by Ducati - 19.01.2018, 17:19

Forum Jump:


Users browsing this thread: 1 Guest(s)