Estava usando FCNPC a include simplesmente porque me falaram que era a melhor, mas agora eu vim vendo que ela nгo rodaria no meu VPS linux e nem na minha casa em servidor local com a nova versгo do samp que disseram que melhoraram os NPCs, a questгo й sу uso meus npcs pra duas coisas
exemplos de cуdigos que teria que substituir (abaixo todos os meus cуdigos de NPCs FCNPC)
Код:
npcrob1 = FCNPC_Create("npcrob1"); // 24-7 (1)
FCNPC_Spawn(npcrob1, 142, -28.9448,-186.8204,1003.5469);
npcrob2 = FCNPC_Create("npcrob2"); // 24-7 (2) posto de gasolina
FCNPC_Spawn(npcrob2, 142, 1.9909,-30.7009,1003.5494);
FCNPC_SetAngle(npcrob2, 357.6201);
npcrob3 = FCNPC_Create("npcrob3"); // npc binco normal grove
FCNPC_Spawn(npcrob3, 223, 207.7325,-98.7045,1005.2578);
FCNPC_SetAngle(npcrob3, 178.9347);
npcrob4 = FCNPC_Create("npcrob4"); // npc binco suburban
FCNPC_Spawn(npcrob4, 29, 203.6479,-40.7589,1001.8047);
FCNPC_SetAngle(npcrob4, 181.8473);
npcrob5 = FCNPC_Create("npcrob5"); // npc binco zip
FCNPC_Spawn(npcrob5, 141, 161.4051,-80.0589,1001.8047);
FCNPC_SetAngle(npcrob5, 180.1522);
npcrob6 = FCNPC_Create("npcrob6"); // npc chuckin bell
FCNPC_Spawn(npcrob6, 167, 369.4771,-4.4919,1001.8516);
FCNPC_SetAngle(npcrob6, 177.3296);
npcrob7 = FCNPC_Create("npcrob7"); // npc burguer shot
FCNPC_Spawn(npcrob7, 205, 375.6144,-65.7069,1001.5078);
FCNPC_SetAngle(npcrob7, 140.8397);
npcrob8 = FCNPC_Create("npcrob8"); // npc bar grove
FCNPC_Spawn(npcrob8, 247, 497.1828,-77.8977,998.7651);
FCNPC_SetAngle(npcrob8, 358.5264);
npcrob9 = FCNPC_Create("npcrob9"); // npc bar alien
FCNPC_Spawn(npcrob9, 248, -223.3082,1406.0751,27.7734);
FCNPC_SetAngle(npcrob9, 95.3874);
npcrob10 = FCNPC_Create("npcrob10"); // npc gym
FCNPC_Spawn(npcrob10, 80, 766.1009,12.8907,1000.7036);
FCNPC_SetAngle(npcrob10, 180.4982);
npcrob11 = FCNPC_Create("npcrob11"); // npc tattos
FCNPC_Spawn(npcrob11, 180, -201.7614,-23.6847,1002.2734);
FCNPC_SetAngle(npcrob11, 148.6796);
npcrob12 = FCNPC_Create("npcrob12"); // npc sex shop
FCNPC_Spawn(npcrob12, 85, -105.9900,-8.9150,1000.7188);
FCNPC_SetAngle(npcrob12, 179.7028);
npcrob13 = FCNPC_Create("npcrob13"); // npc sex shop
FCNPC_Spawn(npcrob13, 85, 501.8527,-21.4871,1000.6797);
FCNPC_SetAngle(npcrob13, 90.2779);
npcrob14 = FCNPC_Create("npcrob14"); // stakked 180.2793
FCNPC_Spawn(npcrob14, 155, 373.9646,-117.2686,1001.4995);
FCNPC_SetAngle(npcrob14, 180.2793);