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.

Maar 10 kogels bij weapon pickup?

Hallo,

ik heb mijn script zo gemaakt dat ik niet alle pickups moet neer moet zette, maar ehhmm hoe doe je ook al weer dat iemand een bepaald aantal kogels krijg als hij een wapen oppakt? en met een health/armour pickup hoe kan ik zorgen dat iemand maar 50 hp/armour krijgt ipv 100?

Het Script!

THX :)

EDIT: sorry voor dubbelpost hoe close je er een? :$

Edited by nick5556

Featured Replies

  • Author

Daar staat helemaal niks in over het plaatsen van wapens, ik ga even op sampwiki kijken

Nee niet over het plaatsen maar wel over wapens. Want jij hebt alleen als extraatje dat het een pick-up is verder is het hetzelfde.

public OnPlayerPickUpPickup(playerid, pickupid)
{
       if(pickupid == SniperPickup)
       { 
               GivePlayerWeapon(playerid, wapen-id, aantal-kogels);
       }
       return 1;
}

Het wapen-id is in dit geval het sniper-id en het aantal-kogels kun je er zelf neer zetten.

Edited by Juwayri

  • 1 month later...

Hey...weet iemand ook een lijst met alle een wapen id van alle wapens?

Het is voor mta.

ik heb er al 1 minigun = 550

EDIT: Sorry, Laat maar, Ik had de lijst voor SA:MP neergezet :puh:

Edited by Ymosky

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

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.