[Solved] Question & 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Solved] Question & Help (
/showthread.php?tid=118508)
[Solved] Question & Help -
[LSB]TheGame - 03.01.2010
Okay i have 4 houses using the same interiors and using setvirtualworld so they cant see each other while in different houses
Problem is they can see each others text so if im in house 1 i can see what house 2-3-4 is saying
How can i make so you cant?
Re: Question & Help -
MadeMan - 03.01.2010
Are you using ProxDetector in your script?
Re: Question & Help -
x-cutter - 03.01.2010
Just check if all players around are in the same virtual world.
Re: Question & Help -
[LSB]TheGame - 03.01.2010
@Mademan - Yeah for some codes
@X_Cutter -They are not in the same world just same interior...
Re: [Solved] Question & Help -
MadeMan - 03.01.2010
Add a
pawn Код:
if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
to your ProxDetector function or whatever you use under OnPlayerText callback.