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.

Freefall

Hoi,

Kan iemand mij vertellen hoe je een freefall of skydive maakt voor je server

dat je bijv als je /freefall of /skydive type, ineens een paar km in de lucht zit ?

je moet dan ook een parashute krijgen als je in de lucht zit he :)

(P.S. kijk ook even naar die andere post van banksysteem en checkpoint)

Gr Darkplayer

Featured Replies

if(strcmp(cmdtext, "/freefall", true)==0) {
new Float:X, Float:Y, Float:Z; // De floats waarin we de spelers zijn positie saven
GetPlayerPos(playerid, X, Y, Z); // Nu saven we de positie in de floats
SetPlayerPos(playerid, X, Y, Z+500); // Nu zetten we de positie, alleen dan 500 m hoger
GivePlayerWeapon(playerid, <parachuteid>); // Hiervoor moet je het id van de parachute even opzoeken.
GameTextForPlayer(playerid, "~r~Dive!!!", 6000, 5); // Laat een leuk textje zien :]
return 1;
}

Dit ofcourse in de OnPlayerCommandText

  • Author

hoi,

ik heb het een beetje verandert, maar hij krijgt nu nog geen parashute :-(

if(strcmp(cmdtext, "/freefall", true)==0) {
	GetPlayerPos(playerid, X, Y, Z); 
	SetPlayerPos(playerid, X, Y, Z+1000); 
	GivePlayerWeapon(playerid, 371);
	GameTextForPlayer(playerid, "~B~VALLEN!!!", 6000, 5);
	return 1;
}

maar de rest werkt wel dus :klap:

Gr Darkplayer

Edited by Darkplayer

  • Author

Ik weet het al parashute heeft nr 46

maar bij GTA GARAGE MOD MANAGER staat nr als -> 371 :klap:

Bedankt voor alles :klap::klap:

Laters Gr Darkplayer

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.