Icon - How do you add it ?
#1

Hello i got 2 points that i need to add a simple icon when you gets near it it types
Material Pickup
And so on...

But this is the picture of how i want it to look alike..
Can anyone help me with how to add it ?
Reply
#2

AddStaticPickup( 1239, 2, 414.5717,2532.4011,16.5815);




Peace....
Reply
#3

Quote:
Originally Posted by Stig
AddStaticPickup( 1239, 2, 414.5717,2532.4011,16.5815);




Peace....
Wrong, he want to show a message when a player is at the pickup.
__

I would suggest you to check those links

https://sampwiki.blast.hk/wiki/Pickup_help
https://sampwiki.blast.hk/wiki/Game_Object_ID_List
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup
https://sampwiki.blast.hk/wiki/SendClientMessage
Reply
#4

Found out how to add the icon just not how to make the text.
Reply
#5

Quote:
Originally Posted by Chivava
Found out how to add the icon just not how to make the text.
use:

[pawn]
//set a timer:
public PickupCheck(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,pickupX,pi ckupY,pickupZ)
{
SendClientMessage(playerid......);
}
}
Reply
#6

Quote:
Originally Posted by SiJ
Quote:
Originally Posted by Chivava
Found out how to add the icon just not how to make the text.
use:

[pawn]
//set a timer:
public PickupCheck(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,pickupX,pi ckupY,pickupZ)
{
SendClientMessage(playerid......);
}
}
Why not just use OnPlayerPickupPickUp?
Reply
#7

Does it matter where i add those lines ? Just at Addstaticpickup ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)