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.

Admin area filterscript

HOOOI !!

Beste Gamerzzzz,

ik heb een klein probleempje, ik heb een filmserver, in productie.

Ik heb vele admin commands enzo maar ik zoek een script dat een Admin Area toevoegt in sa:mp.

Heeft iemand zoiets staan, of weet je toevallig waar ik het kan vinden?

Antwoord dan.

ICE

Featured Replies

Ik heb er zelf geeneen.

Maar misschien zou je even in het scriptshowroom op het sa-mp forum kunnen kijken. ;)

plaats dit in je gewoone script

public adminzone ()

{

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

if(!IsPlayerAdmin){

if(IsPlayerAt(i,-72.9683,1642.7612,434.1817,2139.6919){

SendClientMassage(i,COLOR_RED,"* This is the admin area you will be killed");

SetlPlayerHealt(i,0.0);

}

}

}

}

en maak een timer aan voor de public o ja om warnings te voor komen zet dit boven "main": forward adminzone ();

Met jouw code wordt juist een admin gekilled in die area en zonder de "IsPlayerAt" functie werk het al helemaal niet.

Met jouw code wordt juist een admin gekilled in die area en zonder de "IsPlayerAt" functie werk het al helemaal niet.

nee hoor de admin word niet gekilled er staat een ! voor de isplayeradmin

plaats dit in je gewoone script

public adminzone ()

{

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

if(!IsPlayerAdmin){

if(IsPlayerAt(i,-72.9683,1642.7612,434.1817,2139.6919){

SendClientMassage(i,COLOR_RED,"* This is the admin area you will be killed");

SetlPlayerHealt(i,0.0);

}

}

}

}

en maak een timer aan voor de public o ja om warnings te voor komen zet dit boven "main": forward adminzone ();

Zet a.u.b. geen dingen hier die je zelf niet eerst getest hebt!

Dit stuk zal nevernooit werken op deze manier:

- SendClientMassage moet zijn SendClientMessage

- SetlPlayerHealt moet zijn SetPlayerHealth

en IsPlayerAt is een zelfbedachte funcie door jou. Werkt dus ook niet

  • Author
plaats dit in je gewoone script

public adminzone ()

{

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

if(!IsPlayerAdmin){

if(IsPlayerAt(i,-72.9683,1642.7612,434.1817,2139.6919){

SendClientMassage(i,COLOR_RED,"* This is the admin area you will be killed");

SetlPlayerHealt(i,0.0);

}

}

}

}

en maak een timer aan voor de public o ja om warnings te voor komen zet dit boven "main": forward adminzone ();

Zet a.u.b. geen dingen hier die je zelf niet eerst getest hebt!

Dit stuk zal nevernooit werken op deze manier:

- SendClientMassage moet zijn SendClientMessage

- SetlPlayerHealt moet zijn SetPlayerHealth

en IsPlayerAt is een zelfbedachte funcie door jou. Werkt dus ook niet

En nu de hele code graag :eten::eten: ...

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.