GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: fnorbert - 2015. szeptember 12. - 11:07:18

Cím: npcc problema
Írta: fnorbert - 2015. szeptember 12. - 11:07:18
Van ez szkript mely nem megy.Az lenne a probléma hogy be irom a parancsot és nem csinál semmit.Mi a problema.
http://www.mediafire.com/download/kyduhyr68q1yuz9/NPCGenerator.rar
Elöre is  :kosz:
Cím: npcc problema
Írta: ᗩωєѕσмє - 2015. szeptember 12. - 11:09:24
Az Rcon-ba való bejelentkezés megtörtént?
\"1) Go In Game and Login As Rcon ( /rcon login password ).\"
Cím: npcc problema
Írta: fnorbert - 2015. szeptember 12. - 11:11:55
igen
Cím: npcc problema
Írta: ᗩωєѕσмє - 2015. szeptember 12. - 11:17:02
Leteszteltem, nekem hiba nélkül működik. Próbáld meg, hogy a server.cfg-ben a filterscripteknél a legelső helyre rakod be.


\"sa-mp-156.png\"
Cím: npcc problema
Írta: fnorbert - 2015. szeptember 12. - 11:23:04
ok müködik csak egy kis kerdes hogy dudom müködesbe hozni az npc.
Cím: npcc problema
Írta: ᗩωєѕσмє - 2015. szeptember 12. - 11:25:43
Le van írva részletesen minden.
 
How to use The NPC Generator:
1) Go In Game and Login As Rcon ( /rcon login password ).
2) Type /createnpc.
3) Follow The Steps ( Skin Selecting, Weapon Selecting...).
4) After you finish, close the game, enter your scriptfiles folder and you will see your file + NPC.pwn file.
5) Place The NPC.pwn file in npcmodes folder ( you may edit the file if you want ), and the recorded file in the npcmodes/recordings.
6) Connect your NPC to the server. ( ConnectNPC(name[],file[]);
7) Ok now go in your gamemode / filterscript at OnPlayerSpawn, then do:
if(IsPlayerNPC(playerid))
{
SetPlayerSkin(playerid,skinid*);
GivePlayerWeapon(playerid,weaponid**,99999);
        return 1;
}
skinid* = The skin id that you inserted while you were making the NPC.
weaponid** = The weapon id that you inserted while you were making the NPC.
Cím: npcc problema
Írta: fnorbert - 2015. szeptember 12. - 11:39:36
oke en is látam le van irva de angol.Megprobáltam leforditani de csak hüjeseget adot ele.