called back
#1

hey guys i have an event sistem created by me but i have a simple question , if someone kills you , you get a message like /call 112 cause someone killed you ... but i want not to give you that message if you are in that event

Код HTML:
if(!IsACop(killerid) && OnDuty[playerid] == 0)
		{
			if(factionid[killerid] != factionid[playerid] && PlayerInfo[killerid][pJailed] != 1 && !IsAGangMember(playerid))
			{
				AcusedID[playerid] = killerid;
				strmid(Crime[playerid], "Murderer", 0, 50);
				format(gString, sizeof(gString),"You have been killed by %s, you can report the crime in 30 seconds [/call 112].", GetName(killerid));
				SendClientMessage(playerid, 0xAAC4E0FF, gString);
				defer ResetCrime(playerid);
			}
		}
InDayByDayLight is the variable that is saying about someone if is or not in that event i tryed to add it at the first line from that script something like InDayByDayLight[playerid == 0 and 1 and didn't work
Reply


Messages In This Thread
called back - by StR_MaRy - 30.10.2016, 11:13
Re: called back - by DevHarden - 30.10.2016, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)