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.

Textdraw! maken hoe?

hoi,

ik ben al een tijdje aan het klooien met een textdraw maar het lukt me maar niet het goed te krijgen!,

kan iemand me helpen??. het liefst zo simpel mogelijk, dan kan ik er een beetje mee klooien enzo!!

Thnx, :D

Featured Replies

hoi,

ik ben al een tijdje aan het klooien met een textdraw maar het lukt me maar niet het goed te krijgen!,

kan iemand me helpen??. het liefst zo simpel mogelijk, dan kan ik er een beetje mee klooien enzo!!

Thnx, :D

Probeer dit eens

new Text:gSpeed;

public OnPlayerConnect(playerid)
{
new string[10] = "0 u/s";
gSpeed = TextDrawCreate(floatadd(320.0, (sizeof(string) / 2)), 0, string );
TextDrawAlignment(gSpeed, 3);
TextDrawFont(gSpeed, 2);
TextDrawSetShadow(gSpeed, 0);
TextDrawSetOutline(gSpeed, 1);
TextDrawShowForPlayer(playerid,gSpeed);
}

je kunt de text aanpassen zoals in het volgende voorbeeld:

	new speed = 100;
new string[32];
format(string, 32, "%d kmph", speed);
	TextDrawSetString(gSpeed, string);

Meer info staat hier http://wiki.sa-mp.com/wiki/TextDrawCreate

er is ook een ingame textdraw editor: http://forum.sa-mp.com/index.php?topic=29132.0

  • Author

als ik die wat verander de text staat er

C:\Users\Jordy\Desktop\server\gamemodes\jordy.pwn(66) : error 018: initialization data exceeds declared size

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

kun je mischien een simpelere voorbeeldmake

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.