#1

Npc's Dont Show In Alhambra Club The Filter Script is DanceParty

They Connect But They Are Invisible i think....

pawn Код:
#include <a_samp>

new Random;

public OnGameModeInit()
{

    // NPCS
    ConnectNPC("Dan_cer1","dancer1");
    ConnectNPC("Dan_cer2","dancer2");
    ConnectNPC("Dan_cer3","dancer3");
    ConnectNPC("Dan_cer4","dancer4");
    ConnectNPC("Dan_cer5","dancer5");
    ConnectNPC("Dan_cer6","dancer6");
    ConnectNPC("Dan_cer7","dancer7");
    ConnectNPC("Dan_cer8","dancer8");
  ConnectNPC("Dan_cer9","dancer9");
  ConnectNPC("Dan_cer10","dancer10");
  ConnectNPC("Dan_cer11","dancer11");
  ConnectNPC("Dan_cer12","dancer12");
  ConnectNPC("Dan_cer13","dancer13");
  ConnectNPC("Dan_cer14","dancer14");
  ConnectNPC("Stage_Dancer1","stagedancer1");
  ConnectNPC("Stage_Dancer2","stagedancer2");
  ConnectNPC("Stage_Dancer3","stagedancer3");
  ConnectNPC("Byst_ander","bystander");
  ConnectNPC("Drink_Server","drinkserver");
  ConnectNPC("VIP_Member","vipmember");
  ConnectNPC("Secu_rity","security");
   
    Random =    AddStaticVehicle(420,2044.8854,1473.2106,10.4494,181.3339,6,1); // Makes sure the NPC Spawns

    return 1;
}

public OnPlayerSpawn(playerid)
{
  if(!IsPlayerNPC(playerid)) return 0;

    new playername[64];
    GetPlayerName(playerid,playername,64);

    if(!strcmp(playername,"Dancer1",true)) {
        PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 12, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer2",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 101, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer3",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 13, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer4",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 169, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer5",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 170, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer6",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 180, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer7",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 216, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer8",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 21, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer9",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 214, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer10",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 226, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer11",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 223, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer12",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 24, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer13",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 25, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Dancer14",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 40, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"StageDancer1",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 277, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"StageDancer2",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 280, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"StageDancer3",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 287, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Bystander",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 59, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"DrinkServer",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 93, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
  else if(!strcmp(playername,"VIPMember",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 103, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }
    else if(!strcmp(playername,"Security",true)) {
    PutPlayerInVehicle(playerid, Random, 0);
      SetSpawnInfo( playerid, 0, 164, 1958.33, 1343.12, 15.36, 269.15, 31, 1000, 0, 0, 0, 0 );
    }

  return 1;
}
Reply
#2

Hmmm.... on server.cfg on filter sript line u added it's name ?
Reply
#3

yes i did
Do i have to add names of npcs?
Reply
#4

No....
Reply
#5

Read server.cfg carefully, and edit the NPC limit line, to your ammount of NPC's.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)