Jump to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hoe zet je je NPC bot online in je server?

Hoii mensen!

Ik heb een paar npc mensen gemaakt maar hoe zet ik die in mijn server?

moet ik dan naar server.cfg en dan daar neerzetten npcmodes blablabla.amx ofzo...??? :?

Bedankt!

Featured Replies

>>>Klik Hier<<<

Tutorial over hoe je ze moet maken.

Eerst moet je ze recorden, en dan het bestand in je npcmodes/recordings/ map doen.

Dan moet je er een script bij maken, staat in de tutorial. Die zet je in /npcmodes/

Dan open je je GM, en zet je in OnGameModeInit:

ConnectNPC("NAAM VAN JE NPC","NAAM VAN HET .AMX BESTAND IN /NPCMODES/");

Bij een FS zet je die in OnFilterScriptInit.

En dan moet je nog een aantal regels neerzetten bij elke callback die een speler maakt voordat hij spawnt. (Connect, Login, Spawn etc.)

Staat allemaal in de tutorial.

Als er problemen zijn moet je eerst even onderin de tutorial kijken ;)

Succes!

P.S. Je hoeft helemaal niks met je server.cfg te doen.

Edited by Wu-Zi-Mu

Je moet wel degelijk iets in je server.cfg doen ;)

namelijk:

maxnpc aantal bots dat in je server kunnen

elke bot zal ook een slot innemen ;)

Oja, vergeten,

sorry

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.