SA-MP Forums Archive
HELP WITH PICKUP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP WITH PICKUP (/showthread.php?tid=587424)



HELP WITH PICKUP - Trollerz - 30.08.2015

HEY GUYS can anyone tell how to make this?
i made the pickup just need the textdraw help )





Re: HELP WITH PICKUP - SpikY_ - 30.08.2015

you can use GameText > https://sampwiki.blast.hk/wiki/GameTextForPlayer

Use ~n~ - for the new line like :

Place this under onPlayerpickuppickup
Код:
GameTextForPlayer(playerid, "/cmds~n~/teles~n~/minigames", 5000, 2);



Re: HELP WITH PICKUP - Variable™ - 30.08.2015

use this;
Код:
    GameTextForPlayer(playerid, "~w~/CMDS~n~~w~/TELES~n~~w~/MINIGAMES", 5000, 1);
The Parameters of GameTextForePlayer are;
(playerid, Text[], Time, Style)

Some Examples of Times;
1000 = Second.
2000 = 2 Second/s.
3000 = 3 Second/s.

Some Examples of Styles;
1
2
3
4
5
6


Re: HELP WITH PICKUP - Trollerz - 30.08.2015

what about destroying it? Like when a player leaves pick up I want to disappear it


Re: HELP WITH PICKUP - Nixco - 30.08.2015

Quote:
Originally Posted by Trollerz
Посмотреть сообщение
what about destroying it? Like when a player leaves pick up I want to disappear it
The messages disappear automatically depending on the duration you set.


Re: HELP WITH PICKUP - Trollerz - 30.08.2015

Oh yea ,OK solved