Don't allow to kick NPC's
#2

Use IsPlayerNPC. Example:

if (IsPlayerNPC(kickid)) {
SendClientMessage(playerid, 0xFF0000AA, "You cannot kick an NPC.");
return 1;
}
Reply


Messages In This Thread
Don't allow to kick NPC's - by Cedimedi - 18.10.2009, 19:19
Re: Don't allow to kick NPC's - by KillFrenzy - 18.10.2009, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)