'i' icon + text
#1

Hey, can someone do an "i" icon & text up of it with position (so i'll be able change the position)
or just give me an example
Reply
#2

What? Are you referring to pickups?

http://files.prineside.com/gtasa_sam...e/1239_w_s.jpg
Reply
#3

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
What? Are you referring to pickups?

http://files.prineside.com/gtasa_sam...e/1239_w_s.jpg
yes, with text in the up of it, please
Reply
#4

Create it with CreatePickup().
https://sampwiki.blast.hk/wiki/CreatePickup

The models (what you want is 1239).
https://sampwiki.blast.hk/wiki/Pickup_IDs

Pickup types.
https://sampwiki.blast.hk/wiki/PickupTypes
Reply
#5

dude i dont know how to code it with text !!
Reply
#6

Look at the example usage. It would be easier to explain it to you if you tell us what part you don't understand.

PHP код:
new pickup// Create a variable to store the pickup ID in
 
public OnGameModeInit()
{
    
pickup CreatePickup(124221503.33591432.358510.1191, -1);
    
// Create an armour pickup and store the ID in 'pickup'
    
return 1;
}
 
// Later..
DestroyPickup(pickup); // Example of using the pickup ID
pickup 0// pickup variable needs to be reset to avoid future conflicts 
Reply
#7

You can't expect people to spoon feed you everything. Learn.
Reply
#8

pawn Код:
pickup = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1);
this is good ... how to add text to it like: a text higher(Hello) bottom of it(hello)>< (type /enter)

sry 4my bad english
Reply
#9

Quote:
Originally Posted by Luke_James
Посмотреть сообщение
You can't expect people to spoon feed you everything. Learn.
he really wants to help me and i thanks him and i prayed for him. did i typed Luke James! give me the code ! i dont want to learn ?

learn to respect
Reply
#10

Create3DTextLabel.

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

Example:
PHP код:
public OnGameModeInit()
{
    
Create3DTextLabel("I'm at the coordinates:\n30.0, 40.0, 50.0"0x008080FF30.040.050.040.000);
    return 
1;

Make the coordinates the same as your pickups.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)