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.

Hey,

ik heb vaak gezien dat mensen spammen, maar ik heb ook gezien dat mensen een spam blokker hebben, ik ben al een heel eind maar hoe zorg ik dat iemand niet kan praten?

Cie U

Featured Replies

new Muted[MAX_PLAYERS];

//bij OnPlayerConnect
Muted[playerid] = 0;

//bij je Mute commando:
Muted[playerid] = 1;

//ergens anders in je script:
public OnPlayerText(playerid, text)
{
 if(Muted[playerid] == 1)
 {
	  return 0;
 }
 else
 {
	  return 1;
 }
}

Ik heb 't zo 'ns geprobeert.. kijk maar of je het wil gebruiken.

  • Author
new Muted[MAX_PLAYERS];

//bij OnPlayerConnect
Muted[playerid] = 0;

//bij je Mute commando:
Muted[playerid] = 1;

//ergens anders in je script:
public OnPlayerText(playerid, text)
{
 if(Muted[playerid] == 1)
 {
	  return 0;
 }
 else
 {
	  return 1;
 }
}

Ik heb 't zo 'ns geprobeert.. kijk maar of je het wil gebruiken.

THX, hiermee ben ik al een stuk verder, Hoe zorg ik dat iemand na 5× gekicked(kickratio) word en dat warning(komt in profiel ) +1 gaat, als iemand dan met 3 warnings de server ingaat hij verbannen word?

Er gaat een timer lopen zodra iemand typt van 1 seconde, als iemand binnen die 1 sec praat gaat er een message en kickratio +1 als die 5 is kick, bij 5 keer kick en warning +1. Maar iemand moet na 3 × al muted zijn, hoe doe ik dat?

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.