SA-MP Forums Archive
"i" Sign - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: "i" Sign (/showthread.php?tid=72490)



"i" Sign - Taz86 - 08.04.2009

Hello mates.

How can I made an "i" Icon on some place and if the player on that "i" So a meesge will come for him just for him.

I know hot to make the "i" Icon on the place, but help me with the message please.

Thanks all!

Taz
:P


Re: "i" Sign - Weirdosport - 08.04.2009

Once you have the pickup, eg:

pawn Код:
new bob;

bob = CreatePickup(blah blah blah)
You need this sort of thing under OnPlayerPickUpPickup:

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == bob)
        {
        GameTextForPlayer(playerid, "Information goes in here", 3000, 3);
        }
    return 1;
}



Re: "i" Sign - Taz86 - 08.04.2009

Quote:
Originally Posted by Weirdosport
Once you have the pickup, eg:

pawn Код:
new bob;

bob = CreatePickup(blah blah blah)
You need this sort of thing under OnPlayerPickUpPickup:

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == bob)
        {
        GameTextForPlayer(playerid, "Information goes in here", 3000, 3);
        }
    return 1;
}

Alright
But i want to get a line down that it will be like this
Bla bla:

hhhhh
hhhhh

hhhhhhh

No just Hhhhhhhhhhhhhh

How to do it?
To copy The: GameTextForPlayer(playerid, "Drag Racing Rules:", 3000, 3);

Again and agin and to change the " " ?


Re: "i" Sign - Torekk - 08.04.2009

You can't have more than one GameTextForPlayers(); at the same time on the screen. You'd have to use textdraws, take a look at this: https://sampwiki.blast.hk/wiki/TextDrawCreate


Re: "i" Sign - Taz86 - 09.04.2009

Thanks anyway, I di it with Sendclientmessage.

Thanks anyway

:P


Re: "i" Sign - ICECOLDKILLAK8 - 09.04.2009

You can use ~n~ for a new line