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.

Hooi ik had teleports gemaakt

maar als ik dan typ gaat de vehicle naar de vehicle pos en de player naar de player pos

maar waat ik wil is:

te voet ---->> kom je op de PlayerPos

in een vehicle ---->> kom je op de VehiclePos

en niet appart. Hoe kan ik dit fixen

dit is de code:

	if (strcmp("/stuntplace", cmdtext, true) == 0)
{
  	new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,2114.2153,-2535.7747,13.5469);
SetVehicleZAngle(vehicleid,5.1033);
SendClientMessage(playerid, COLOR_YELLOW,"Welcome in The StuntZone");
SetPlayerPos(playerid,2073.3618,-2546.3396,13.5469);
SendClientMessage(playerid, COLOR_YELLOW,"Welcome in The StuntZone");
return 1;
}
if (strcmp("/chilliad", cmdtext, true) == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid,-2345.5344,-1650.9894,483.7031);
SetVehicleZAngle(vehicleid,5.1033);
SetPlayerPos(playerid,-2345.5344,-1650.9894,483.7031);
SendClientMessage(playerid, COLOR_YELLOW,"You are now at MountChilliad");
return 1;
}

Wat doe ik fout als 1 van jullie het weet en me uit de brand kan helpen graag :tu:

Featured Replies

if (strcmp("/stuntplace", cmdtext, true) == 0)
{
   new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(vehicleid,2114.2153,-2535.7747,13.5469);
SetVehicleZAngle(vehicleid,5.1033);
SendClientMessage(playerid, COLOR_YELLOW,"Welcome in The StuntZone");
}
else {
SetPlayerPos(playerid,2073.3618,-2546.3396,13.5469);
SendClientMessage(playerid, COLOR_YELLOW,"Welcome in The StuntZone");
}
return 1;
}
if (strcmp("/chilliad", cmdtext, true) == 0)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(IsPlayerInAnyVehicle(playerid)) {
SetVehiclePos(vehicleid,-2345.5344,-1650.9894,483.7031);
SetVehicleZAngle(vehicleid,5.1033);
SendClientMessage(playerid, COLOR_YELLOW,"You are now at MountChilliad");
}
else {
SetPlayerPos(playerid,-2345.5344,-1650.9894,483.7031);
SendClientMessage(playerid, COLOR_YELLOW,"You are now at MountChilliad");
}
return 1;
}

  • Author

Tnx Sandra het heeft geholpen

Azer: sorry wist ik nie :) maar dan weet ik het voor de volgende keer ;)

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.

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.