Object only show for playerid?
#1

Heey all,

Is it possible to show objects only for playerid?

Thanks Admigo
Reply
#2

If this what you mean
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Reply
#3

Wait are you saying only show up for a specific person? Wouldn't that be kind of like mods for the player though I've never heard of anyone do that before.
Reply
#4

Yes,I want to make a gps system with the white arrow(131 so i am using it as object.
Reply
#5

Here you go:
https://sampforum.blast.hk/showthread.php?tid=291090
https://sampforum.blast.hk/showthread.php?tid=292031
Reply
#6

Thanks but i am already using it ,i didnt know that it show only for one player.
One Question:
U know how to destroy the objects when they passed the arrows like:
Код:
-//Arrows that i need to follow to go to my location
-//Arrows that i need to follow to go to my location
-//Arrows that i need to follow to go to my location
^//my car is driving to the arrows
x//I passed this arrow so i need to destroy this arrow
x//I passed this arrow so i need to destroy this arrow
x//I passed this arrow so i need to destroy this arrow
x//I passed this arrow so i need to destroy this arrow
Reply
#7

Either use

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

or

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

For the second one, you need to attach the object to a player.
Reply
#8

I think you dont know what i mean. Look the links that warior sended me. Thats not attached....
Reply
#9

If you want to create an object that only a specific player can see, you can use CreatePlayerObject. I don't know why everyone is talking about attached objects, because it's never mentioned by admigo?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)