26.04.2011, 18:32
Sorry for my bad english .. i hope you understand me !!
I made an NPC. The NPC is respawning ... why ?
I made an NPC. The NPC is respawning ... why ?
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Guard", true))
{
SetPlayerSkin(playerid, 280);
SetPlayerColor(playerid, COLOR_DBLUE);
return 1;
}
return 1;
}