[HELP] Create a "Info" icon.
#4

Quote:
Originally Posted by Jeffry
ON top of your gamemode:
pawn Code:
new vipinfo;
Put under "OnGameModeInt"

pawn Code:
info = CreatePickup(1239, 1, 2196.4102, 2411.9182, 10.8203) // Change these coords ( 1239 is already the I);
Then at "OnPlayerPickupPickup"

pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{{
    if(pickupid == info)
        { GameTextForPlayer(playerid, "Hello", 3000, 0); // 3000 is: 3 seconds x 1000 = 3000 cause it milli-seconds }
return 1;
    }
}
You get they styles of the GameText from: https://sampwiki.blast.hk/wiki/GameTextStyle


If any errors occur, just say.

Hope that helped you.

Alright, thank you
Reply


Messages In This Thread
[HELP] Create a "Info" icon. - by FreddeN - 10.11.2009, 15:02
Re: [HELP] Create a "Info" icon. - by Jeffry - 10.11.2009, 15:09
Re: [HELP] Create a "Info" icon. - by DeathOnaStick - 10.11.2009, 15:12
Re: [HELP] Create a "Info" icon. - by FreddeN - 10.11.2009, 15:13
Re: [HELP] Create a "Info" icon. - by Jeffry - 10.11.2009, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)