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.

Gate gaat niet open...

ik heb al verscheidene dingen geprobeert maar ik krijg het niet voor elkaar om mijn gate te laten openen.

Hier is het script:

Bovenaan:

#define TEAM_CIVILIAN  0
#define TEAM_COP	   1
#define TEAM_CRIMINAL  2
#define TEAM_TAXI	  3
#define TEAM_FBI	   4

verder:

// GATES
	if(IsPlayerConnected(playerid) && gTeam[playerid] == TEAM_COP && PlayerToPoint(20.0, playerid, -1572.061890, 663.277161, 7.027720))
	{
		MoveObject(SFPDGATE1, -1572.061523, 670.830688, 7.027720, 2.0);
	}
	else
	{
		MoveObject(SFPDGATE1, -1572.061890, 663.277161, 7.027720, 2.0);
	}
	if(IsPlayerConnected(playerid) && gTeam[playerid] == TEAM_COP && PlayerToPoint(20.0, playerid, -1701.419800, 684.441223, 24.696056))
	{
		MoveObject(SFPDGATE2, -1701.498047, 693.197876, 24.730844, 2.0);
	}
	else
	{
		MoveObject(SFPDGATE2, -1701.419800, 684.441223, 24.696056, 2.0);
	}

Waar zit het??

Featured Replies

Heb je dit vanboven staan?

new SFPDGATE1;

new SFPDGATE2;

Ja, nee laat maar, anders zou je een error krijgen! :D

Edited by Freaksken

  • Author

ja idd, het staat wel ergens, niet helemaal bovenaan. ergens in de buurt van alle andere "createObjects"

Waar in je script heb je die 2e code uit je hoofdpost staan?

  • Author

is er iemand die ff naar dat script kan kijken en mij het probleem kan vertellen? ik kan nml niet echt verder met mn pd

Ik kijk wel even.. Kan niet openen :S

Edited by Remcconen

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.