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.

Interior probleem

Hey jongens,

Ik heb een probleem met het spawnen in interiors, ik zou graag willen dat net zoals in de Partyserver dat de piloten worden gespawnt in een Andromada en dan kunnen uitspringen. Nou is het gelukt om een van mijn gangs in een andromada te krijgen maar de andere die worden gespawnt in een rare wereld, je ziet niks behalve een klein object in de verte. Het is nog steeds de normale. Ik heb aan public OnPlayerSpawn toegevoegd: SetPlayerInterior(playerid,9);.

Wat heb ik fout gedaan...?

Featured Replies

Je wilt dus de verschillende teams in verschillende interiors laten spawnen?

Ik weet niet welke array je gebruikt om spelers in teams in te delen, maar ik ga even van het meest gebruikte uit:

gTeam[MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == TEAM_PILOT)
{
	SetPlayerInterior(playerid, 9);
	SetPlayerPos(playerid, coordinaten van andomada);
}
if(gTeam[playerid] == TEAM_NORMAL)
{
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid, andere coordinaten);
}
return 1;
}

  • Author

Ik wil de piloten in de Andromada laten spawnen, en andere gangs zoals het leger gewoon op de grond. Moet ik dan gewoon interior id 0 gebruiken om in de normale wereld te spawnen?

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

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.