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.

noob vraagje

Twee vraagjes eigenlijk:

1) Hoe log je in(als je op de server bent) als admin?

2) Hoe maak je een command alleen mogelijk voor admins?

Het zal wel simpel zijn maja een beginner (met dit script)

Featured Replies

Je kunt je als admin inloggen met het door jou uitgekozen wachtwoord. Deze staat in de 'server.cfg' aangegeven. Als je het wachtwoord weet, typ je in-game het volgende in:

/rcon login wachtwoord

Hierna zul je ingelogd zijn.

Je tweede vraag, ik heb net deze geplaatst, waarin dat wordt uitgelegd. Succes. ;)

Edit

Jack, bedankt voor het melden. :) Ik was dat kleine stukje vergeten, bedankt. ;)

Edited by Donwell

  • Author

THX maar ik heb dit:

	if (strcmp("/needcar", cmdtext, true) == 0 && IsPlayerAdmin == 1)

Daar krijg ik foutmeldingen bij(die regel) =\

Dat is deze:

D:\GTA SA\GTA San Andreas\samp\gamemodes\mijnserver.pwn(176) : error 076: syntax error in the expression, or invalid function call

Dit is toch zoals jij het zij?

THX maar ik heb dit:

	if (strcmp("/needcar", cmdtext, true) == 0 && IsPlayerAdmin == 1)

Daar krijg ik foutmeldingen bij(die regel) =\

Dat is deze:

D:\GTA SA\GTA San Andreas\samp\gamemodes\mijnserver.pwn(176) : error 076: syntax error in the expression, or invalid function call

Dit is toch zoals jij het zij?

Klopt, de code die Donwell gaf was verkeerd, het moet dit zijn:

if (strcmp("/needcar", cmdtext, true) == 0 && IsPlayerAdmin(playerid) == 1)

(die == 0 en == 1 mag je weglaten, het geeft geen errors maar ik weet niet of 't ingame werkt.)

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.