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.

adminarena half af ?

hallo ik wil een admin zone maaken maar dat lukt niet

ik heb wel de cordiinaaten

1---------------

X=389

Y=2080.70

Z=17.70

2--------------

X=389

Y=1890.70

Z=17.70

3--------------

X=264.50

Y=1890.70

Z=17.70

4-------------

X=264.50

Y=2080.70

Z=17.70

(1)-----------------(2)

| |

| Adminarena |

| |

| |

(4)-----------------(3)

Featured Replies

Hey,

Een tijdje geleden heb ik zoiets ook gemaakt.

Even kijken in LVDMOD heeft mij toen het meeste geholpen.

Behoorlijk moeilijk.

Wat je bij onderstaand stukje moet doen is Xmin, Ymin, Xmax en Ymax invullen ipv mijn coordinaten.

Bij mij kreeg je er geld. Als jij er nog een stukje bij maakt die vraagt IsPlayerAdmin(i); dan moet het lukken.

Ik neem aan dat je weet hoe dat moet.

Je kunt bij else ook doen dat je anders een berichtje krijgt van dat het admin-only is of dat de persoon anders 'gedood' word (SetPlayerHealth(i, 0);.

(Dit is een stukje van m'n mode Bayside, van m'n server [NL] Klerekast 1st)

public Admingebied()

{

for(new i=0; i<MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

new Float:X, Float:Y, Float:Z;

GetPlayerPos(i, X, Y, Z);

if (X >= -2280.14 && X <= -2243.84 && Y >= 2278.96 && Y <= 2344.85 ){ // wijzig dit in de laagste X, hoogste X, Ymin, Ymax (dus de coordinaten van jou deel he).

// Doe hier dus wat je 'wilt'. Zou ook niks kunnen zijn en bij evt. een 'else' juist iets.

}

}

}

}

Maak ook een SetTimer onder OnGameModeInit(), met de naam van de public (Admingebied) en de sec enz.

Succes!

Edit: He bennie, antwoord dan!

Edited by chieljon

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.