05.02.2010, 04:49
well i have this and they load the skin, maybe check urs?
this to avoid my real player skin things and stuff
Код:
public OnGameModeInit() { ConnectNPC("[NPC]Juan","FarmGuard");
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) //Checks if player is NPC. { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); // if(!strcmp(npcname, "[NPC]Juan", true)) / { GivePlayerWeapon(playerid,32,500); // M4 SetPlayerSkin(playerid,30); // Skin Latino PlayerInfo[playerid][team] = CIVILIAN; } return 1; } // end of NPC Check // then the rest of player spawn thing for regular players