Streamer Help - 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: Streamer Help (
/showthread.php?tid=505898)
Streamer Help -
iBeast - 10.04.2014
I am creating a CP when a player enters a specific vehicle and its steaming area is set to 9999.9 but the problem is that the CP is getting streamed for all players, I mean everyone on the server can see the CP whereas I only want it to be shown to the player who is in that specific vehicle, how would I do that ?
As the title says, I am using Incognito's streamer.
Re: Streamer Help -
Konstantinos - 10.04.2014
pawn Код:
native CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
If you already know the player and it's only a specific player, replace -1 in the
playerid parameter with the player you want only to be able to see that dynamic checkpoint. For more players, use CreateDynamicCPEx functions that you can use an array for the players.
Re: Streamer Help -
iBeast - 10.04.2014
Thanks Konstantinos

I am dumb -_- I thought -1 was playerid in other words D:
EDIT:Can't REP you, just recently did somewhere else...