Can't see pickup objects
#1

Hello, how can i make that a player can't see any pickup objects?
Reply
#2

I assume you can just make into this.

pawn Код:
if(PlayerData[playerid][HidePickup] == 0)
{
// Show Pickups here.
}
else
{
// Don't show.
}
Im probably wrong. But its worth a try
Reply
#3

Quote:
Originally Posted by Stev
Посмотреть сообщение
Im probably wrong.
This wouldn't work

Because the Pickups are created serverside, not playerside.

If you use CreatePickup the last Parameter is the virtualworld, just set the player who shouldn't see them in another virtualworld. But then he wouldn't be able to see other players and vehicles too If you want just to hide the Pickup, use a streamer: https://sampforum.blast.hk/showthread.php?tid=102865

Greekz
Reply
#4

My bad
Reply
#5

Or try using a streamer.
Reply
#6

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Or try using a streamer.
Read my full post..i said it already
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)