Skip to content
Bekijk in de app

Een betere weg om onze GTA community te volgen. Leer meer.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

Een volledig scherm app op het beginscherm inclusief notificaties, badges en meer.

Om deze app op je iPhone en iPad te installeren
  1. Druk op het icoon in Safari
  2. Scroll in het menu en druk op Zet op beginscherm.
  3. Druk op Voeg toe rechts bovenaan.
Om deze app op je Android toe te voegen
  1. Druk op het 3-punten menu (⋮) rechts bovenaan in de browser.
  2. Druk op Toevoegen aan beginscherm of Installeer app.
  3. Druk op Toevoegen om te bevestigen.

Bounds ?

Geplaatst:

Hoe maak ik boundaries ?

:puh: Die guest hier wil het ook weten :puh: Is een vriend

Hey Karl :puh:

Tom :cya:

Bewerkt: door .:TOM:.

Featured Replies

Geplaatst:

SetPlayerWorldBounds(playerid, max-x, min-x, max-y, min-y);

Voila

Geplaatst:
  • Auteur

Ty :puh:

public OnPlayerConnect(playerid)
{
   return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
   return 1;
}

Hoe doe ik dat bij die gebeurenissen Dat iedereen op de server een boodshap krijgt met .. has logged ..

PS: say to her that i didn't see that in wiki

and i feel like an idiot

XD

Tom :cya:

Bewerkt: door .:TOM:.

Geplaatst:

public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s has joined the server.", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}

&

public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[56];
GetPlayerName(playerid, pName, sizeof(pName));

switch(reason)
{
	case 0: format(string, sizeof(string), "%s has left the server. (Timeout)", pName);
	case 1: format(string, sizeof(string), "%s has left the server. (Leaving)", pName);
	case 2: format(string, sizeof(string), "%s has left the server. (Kicked)", pName);
}

SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}

Staat notabene op de Wiki van SA:MP zelf, zowel in het nederlands als in het engels.

Een reactie plaatsen

Je kan nu een reactie plaatsen en pas achteraf registreren. Als je al lid bent, log eerst in om met je eigen account een reactie te plaatsen.

Gast
Op dit onderwerp reageren...

Recent actief 0

  • Er zijn hier geen geregistreerde gebruikers aanwezig.

Account

Navigatie

Zoeken

Zoeken

Configureer push berichten

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.