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.

als player binnen een gebied is...?

hey, wil ieamand me plz ff helpen?

ik wil een gebied maken, als de player daartussen is kan je een command gebruiken.

ik heb wel een idee maar ik weet niet hoe je het uit moet werken,

		if (strcmp("/command", cmdtext, true, 10) == 0)
{
	if (GetPlayerPos(playerid, Float:x, Float:y))
	{
			if (x=<40, x=>30, y=<60, y=>50)
			{
			//command uit te voeren op /command
	}
			}
	return 1;
}

ik weet dat het zoiets is maar het regeltje "if (x=<40, x=>30, y=<60, y=>50)" werkt niet, hoe doe ik dit?

(hiermee bedoelen ik als x kleiner is dan 40 en groter is dan 30, en y kleiner dan 60 en groter dan 50)

plz kan iemand me hier mee helpen en heb me al suf zitten zoeken op tutorials van als blabla kleiner is dan bla bla, maar ik kan nix vinden.

Featured Replies

if (x<=40 && x>=30 && y<=60 && y>=50)

&& en

|| of

<= is gelijk of kleiner dan

< is kleiner dan

> is groter dan

>= is groter of gelijk aan

== is gelijk aan

Edited by =>Sandra<=

  • Author

WHOOOH nice, snelle reactie xD ty verry much he

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.