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.

Filterscript

Hey, :cya:

DraCoblue heeft een soort script gemaakt voor SA:MP, misschien kennen jullie dat wel maar daar gaat mijn vraag toch niet over :cab:

Ik wel nl zelf zo'n script maken, gewoon heel simpel, en dat je dan als je de server binennkomt er in de chat staat Welkom [spelernaam]

Iemand enig idee hoe dat moet ?

Featured Replies

Open je script en zoek dan naar het stukje

public OnPlayerConnect(playerid)
{

Zet daar dan onder:

GameTextForPlayer(playerid,"Welcome to this server!",2000,5);

Voorbeeldje in een trainingsscript van mij:

public OnPlayerConnect(playerid)
{
SetPlayerColor(playerid,0x888888FF);
GameTextForPlayer(playerid,"~b~SOL ~r~Practise ~w~mode",2000,5);
GameTextForPlayer(playerid,"Welcome to the SOL practise mode, pickups are near each others bases!",2000,5);
GameTextForPlayer(playerid,"Weapon pickups are down the ship near the crane!",2000,5);
GameTextForPlayer(playerid,"Enjoy your stay!",2000,5);
return 1;
}

  • Author

Ja, maar dan moet je dat bij elk script weer erinzetten.

o 1. Extract all files of this zip-archive into your Server-folder.

o 2. Open server.cfg and add line "filterscripts Chatsystem", or

append "Chatsystem" to exisiting line "filterscripts"

o 3. Launch the server.

Have fun!

Kijk, dat wil ik dus ook doen, maar dan dat er alleen staat Welkom [speler]

  • 6 months later...

public OnPlayerConnect(playerid)

{

new PlayerName[30], str[256];

GetPlayerName(playerid, PlayerName, 30);

format(str, 256, "Welkom %s", PlayerName);

GameTextForPlayer(str,6000,1);

SetPlayerColor(playerid, 0xAFAFAFAA);

return 1;

}

hier met naam erbij :*D

>>> Door Flame: Gefeliciteerd, je hebt zojuist een topic van 6 maanden gebumpt!<<<

Guest
This topic is now closed to further replies.

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.