SA-MP Forums Archive
Gates, Factions - 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: Gates, Factions (/showthread.php?tid=429959)



Gates, Factions - DerViL - 12.04.2013

Im using this FS https://sampforum.blast.hk/showthread.php?tid=345906 and i was wondering how can i make it without password and only for one faction to be able to open gates


Re: Gates, Factions - zDivine - 12.04.2013

Well you would have to implement the script into your GM, or call the function from the FS. Implementing it into your GM would be much easier to me, then just use the faction variables.

pawn Код:
if(pInfo[playerid][pFaction] == 1)
{
// Gate code here.
}



Re: Gates, Factions - DerViL - 12.04.2013

And how can i implent the FS to my GM??


Re: Gates, Factions - MP2 - 12.04.2013

Use my include mGates. See my signature. Is supports exactly what you want with relative ease.


Re: Gates, Factions - DerViL - 12.04.2013

ok, i will try it