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.

Player on map

hoi, ik heb nu dat je iedereen op de map ziet, maar dah wil ik niet, waar staat dat in het script?

alvast bedankt!

Featured Replies

ShowPlayerMarkers(0);

Plaats in OnGameModeInit.

  • Author

ok bedankt, maar is er een command met /vind playerid?

  • Author

ok thanks, ik heb dah nu, maar als ik ShowPlayerMarkers(0); doe, dan werkt /find ook niet meer natuurlijk :S

is er geen andere manier om die weg te halen?

ok thanks, ik heb dah nu, maar als ik ShowPlayerMarkers(0); doe, dan werkt /find ook niet meer natuurlijk :S

is er geen andere manier om die weg te halen?

Tuurlijk werk /find dan nog. ShowPlayerMarkers(0) heeft geen verdere invloed op Checkpoint Markers / Map Icons ;)

Edit: Ja, er is nog wel een andere manier om de speler onzichtbaar te maken op de map, geef hem daarvoor een kleurcode eindigend op 00. Bijvoorbeeld 0xFFFFFF00 ;)

Edited by David22

  • Author

ok mischien wel, maar als ik vind doe, gebeurt er niets, want wat ik wil is:

dat als iemand op de pickup komt, hij /vind [iD] kan doen, voor 10 sec, ik heb nu dit:

OnPlayerPickUpPickUp:

else if(pickupid == radargreen)

{

SendClientMessage(playerid, COLOR_RED, "test");

radar2[playerid] = 1;

}

else if(pickupid == radarred)

{

SendClientMessage(playerid, COLOR_RED, "test");

radar1[playerid] = 1;

}

OnGameOnIt ofzoiets

radarred = CreatePickup(1239,23,-147.235855, -72.685165, 2.845665);

if (strcmp("/find", cmdtext, true, 10) == 0)

{

new FindPlayerID;

tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

SendClientMessage(playerid, RED, "Gebruik: /find [iD]!");

return 1;

}

FindPlayerID = strval(tmp);

if(!IsPlayerConnected(FindPlayerID))

{

SendClientMessage(playerid, RED, "Speler is niet online!");

return 1;

}

new Float:px, Float:py, Float:pz;

GetPlayerPos(FindPlayerID, px, py, pz);

SetPlayerCheckpoint(playerid, px, py, pz, 10.0);

CheckpointTimerID = SetTimerEx("CheckpointVerplaatsen", 1000, true, "ii", playerid, FindPlayerID);

return 1;

}

if(strcmp("/stopfind", cmdtext, true))

{

KillTimer(CheckpointTimerID);

DisablePlayerCheckpoint(playerid);

return 1;

}

en raar want /stopfind werkt ook niet

nogal wazig allemaal ;)

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.