Can't see pickup objects - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can't see pickup objects (
/showthread.php?tid=575066)
Can't see pickup objects -
Blackazur - 23.05.2015
Hello, how can i make that a player can't see any pickup objects?
Re: Can't see pickup objects -
Stev - 23.05.2015
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
AW: Re: Can't see pickup objects -
Kaliber - 23.05.2015
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
Re: Can't see pickup objects -
Stev - 23.05.2015
My bad
Re: Can't see pickup objects -
Threshold - 23.05.2015
Or try using a streamer.
AW: Re: Can't see pickup objects -
Kaliber - 23.05.2015
Quote:
Originally Posted by Threshold
Or try using a streamer.
|
Read my full post..i said it already