01.02.2015, 00:38
Try this..
Код:
public OnFilterScriptInit() { print("BOTS"); ConnectNPC("Civilian1","nvciv1"); ConnectNPC("Civilian2","nvciv2diner"); ConnectNPC("Civilian3","nvciv3"); ConnectNPC("Civilian4","nvciv4"); ConnectNPC("Civilian5","nvbouncer"); return 1; } public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "Civilian1", false)) SetPlayerSkin(playerid, 1); if(!strcmp(npcname, "Civilian2", false)) SetPlayerSkin(playerid, 11); if(!strcmp(npcname, "Civilian3", false)) SetPlayerSkin(playerid, 32); if(!strcmp(npcname, "Civilian4", false)) SetPlayerSkin(playerid, 93); if(!strcmp(npcname, "Civilian5", false)) SetPlayerSkin(playerid, 30); } return 1; }