Help with gamemodetext - 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: Help with gamemodetext (
/showthread.php?tid=148029)
Help with gamemodetext -
MastahServers - 15.05.2010
Hello, everyone, I have a question.
Does someone know how to make that, if you go to an icon, then you see for example: 'San Fierro City Hall'
Re: Help with gamemodetext -
juice.j - 15.05.2010
Check those out:
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/GameTextForPlayer
Re: Help with gamemodetext -
MastahServers - 15.05.2010
But I want more then one :P
Re: Help with gamemodetext -
MafiaGuy™ - 15.05.2010
eh ?
Код:
OnPlayerPickup(...
{
if(pickupid == 0)
{
GameTextForPlayer(...
}
if(pickupid == 1)
{
.
.
.
}
CreatePickup(... // this is the 0, every next +1 enjoy
Re: Help with gamemodetext -
MastahServers - 15.05.2010
Ahah, that I forgot D:
Forgot the
Re: Help with gamemodetext -
juice.j - 15.05.2010
Yeah, or in case that you need it dynamic you declare a variable and connect it to the pickupID of those that shall display your text.