SA-MP Forums Archive
Keeping ORANGE players from entering AMMUNATION? - 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: Keeping ORANGE players from entering AMMUNATION? (/showthread.php?tid=152736)



Keeping ORANGE players from entering AMMUNATION? - Ozwell_Spencer - 05.06.2010

Is there a way to make it so that "ORANGE" colored players can't go into Ammunation?


Re: Keeping ORANGE players from entering AMMUNATION? - Flashy - 05.06.2010

Well, I think it isnґt possible. You can keep a special team or gang away from entering in ammunation.
But player with a special colour? No, I think it isnґt possible.

I donґt find any function for it. Maybe any plugin have it.
https://sampwiki.blast.hk/wiki/Function:SetPlayerColor


Re: Keeping ORANGE players from entering AMMUNATION? - [03]Garsino - 05.06.2010

https://sampwiki.blast.hk/wiki/Function:GetPlayerColor



Re: Keeping ORANGE players from entering AMMUNATION? - DeltaResponseRP - 05.06.2010

Yea hes right you cannot keep certain teams from entering the ammunition unless the samp team comes out with this option.


Re: Keeping ORANGE players from entering AMMUNATION? - Ozwell_Spencer - 05.06.2010

Quote:
Originally Posted by [03
Can you show me how I would use that to keep ORANGE players out of AMMU? I'm a new scripter.


Re: Keeping ORANGE players from entering AMMUNATION? - Ozwell_Spencer - 05.06.2010

Oh. Well is there a way to take out the clerk in Ammunation so that no one can use Ammunation?


Re: Keeping ORANGE players from entering AMMUNATION? - Flashy - 05.06.2010

This is a solution to..
Let the ammunation entrance disappear


Re: Keeping ORANGE players from entering AMMUNATION? - Kar - 05.06.2010

if player team/color orange disable checkpoint for those players?


Re: Keeping ORANGE players from entering AMMUNATION? - Fj0rtizFredde - 05.06.2010

Do you use anything like gTeam, SetPlayerTeam or just SetPlayerColor to make them orange? And have you DisableInteriorEnterExits(); in your GM?


Re: Keeping ORANGE players from entering AMMUNATION? - Antonio [G-RP] - 05.06.2010

Ozwell, you know where I put your "SetPlayerColor" ?

If you have an /enter command, simply check if "GetPlayerColor" is that color, then don't let them in