30.10.2016, 11:13
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
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
Код 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);
}
}

