"i" Sign
#1

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
Reply
#2

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;
}
Reply
#3

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 " " ?
Reply
#4

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
Reply
#5

Thanks anyway, I di it with Sendclientmessage.

Thanks anyway

:P
Reply
#6

You can use ~n~ for a new line
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)