10.02.2010, 19:49
Hey mates i was wondering, is it possible to show SendDeathMessage to only certain players.
For example iґd like to show it to only on duty admins
right now i have this:
For example iґd like to show it to only on duty admins
right now i have this:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
//bla bla bla bla
for(new i=0; i<MAX_PLAYERS; i++)
{
if(AdminDuty[i] == 1)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
}