Skip 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.

Wapens en of jetpack spawnen

Ik heb een vraag, Hoe spawn je wapens en parachut en andere dingen zoals een jetpack.

Featured Replies

Ik weet het niet precies, maar je moet in ieder geval aan de goede coordinaten komen. Ga naar de plek waar je de objecten wilt spawnen, en type /save in de chatbox. Type bijvoorbeeld /save jetpack zodat je weet dat dit de coordinaten zijn voor de jetpack. Deze coordinaten vind je terug in je ../Program Files/Rockstar Games/GTA San Andreas map, als een kladblok bestand onder de naam 'savedpositions'.

Nu moet je nog achter het ID van het wapen komen. Hoe dat precies moet weet ik niet, daar kan iemand anders je mee helpen. :)

  • Author

Ja dat wist ik al met die coordinaten maar nu nog wat moet ik in het script zetten :puh:

Voor een jetpack of een parachute zet je

bij 'public OnGameModeInit()':

AddStaticPickup(371, 3, x,y,z);  //parachute
AddStaticPickup(370, 3, x,y,z);  //jetpack

Om een wapenpickup te maken, zet je bij 'public OnGameModeInit()':

AddStaticPickup(model-id, 3, x,y,z);

>>klik hier voor pagina met de model-id's van wapens.

Let op: Gebruik niet het getal dat onder 'ID#' staat, maar het getal onder 'Model'

Als voorbeeld doen we een SMG:

AddStaticPickup(353, 3, x,y,z);

Als je dit alleen in het script zet, krijg je alleen het default aantal kogels. (60)

Als je wilt dat je er meer moet krijgen, dan moet je variabelen gebruiken. (de pickup een naam geven):

Je moet nu ook 'CreatePickup' gebruiken in plaats van 'AddStaticPickup'

Bovenaan je script:

new Smg;

Bij 'public OnGameModeInit()':

Smg = CreatePickup(353, 3, x,y,z);

Bij 'public OnPlayerPickupPickup(playerid, pickupid);

if(pickupid == Smg) {
GivePlayerWeapon(playerid, 29, aantal-kogels);
}

Vul zelf nog de gewenste x, y en z coördinaten in en het aantal kogels dat je wilt.

P.s. Als je bij aantal-kogels bijvoorbeeld 500 invult, dan krijg je er 560 omdat die 60 standaard kogels er ook bijkomen.

Veel succes ermee

Groetjes Sandra

  • Author

Thnx goed uitgelegd

Thnx goed uitgelegd

Meen je dat, of is dat sarcastisch bedoeld en snap je er geen drol van? :dans:

Edited by Sandra18[NL]

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.

Account

Navigation

Search

Search

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.