27.03.2011, 08:44
why my npc dont spawn?
this is my onplayerspawn
this is my onplayerspawn
pawn Код:
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Bisteccone", true))
{
SetPlayerSkin(playerid, 188);
SetPlayerColor(playerid,0xFFFFFF00);
ApplyAnimation(playerid, "COP_AMBIENT","Coplook_loop", 4.0, 1, 1, 1, 1, 0, 1);
}
return 1;
}