Help with gamemodetext
#1

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

Check those out:

https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

https://sampwiki.blast.hk/wiki/GameTextForPlayer
Reply
#3

But I want more then one :P
Reply
#4

eh ?

Код:
OnPlayerPickup(...
{
  if(pickupid == 0) 
 {
  GameTextForPlayer(...
 }
 if(pickupid == 1)
 {
 .
 .
 .
}
CreatePickup(... // this is the 0, every next +1 enjoy
Reply
#5

Ahah, that I forgot D:
Forgot the
Код:
if(pickupid == 1)
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)