18.10.2009, 19:32
Use IsPlayerNPC. Example:
if (IsPlayerNPC(kickid)) {
SendClientMessage(playerid, 0xFF0000AA, "You cannot kick an NPC.");
return 1;
}
if (IsPlayerNPC(kickid)) {
SendClientMessage(playerid, 0xFF0000AA, "You cannot kick an NPC.");
return 1;
}