SA-MP Forums Archive
how to make player can't see player in one hq - 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: how to make player can't see player in one hq (/showthread.php?tid=433725)



how to make player can't see player in one hq - morocco - 28.04.2013

Hi guys

Please i want know how to make one hq but not one Interior

EX : if player use enter for LSPD can't see player enter for FBI , and this Interior one HQ map


and i'm sorry for my english


Re: how to make player can see player in one house - rbush12 - 28.04.2013

Change the Virtual World


Re: how to make player can't see player in one hq - RVRP - 28.04.2013

Let me see if I understand what you are asking..-

You want a single entrance point where members of different factions can enter and be in seperate headquarters? There are multiple ways to do this.

If you want two different interiors (one per faction) you can add a check to the entrance command for that spot to see if the player is in each faction and if they are you can set the appropriate interior. Otherwise, you could allow them to be in the same interior by simply changing their virtual worlds to separate values (once again using the check within the command).


Re: how to make player can see player in one house - morocco - 28.04.2013

Quote:
Originally Posted by rbush12
Посмотреть сообщение
Change the Virtual World
do you mean SetPlayerVirtualWorld ?


Re: how to make player can't see player in one hq - rbush12 - 28.04.2013

Yes.


Re: how to make player can't see player in one hq - morocco - 28.04.2013

Thank you guys !!!!!!!!