SA-MP Forums Archive
help fraction - 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: help fraction (/showthread.php?tid=295750)



help fraction - 26_RUSSS - 07.11.2011

how to create fraction with 0? please help


Re: help fraction - Azzeto - 07.11.2011

What? Please explain more..


Re: help fraction - 26_RUSSS - 07.11.2011

how create a faction no for the rp


Re: help fraction - KosmasRego - 07.11.2011

You mean you want to learn scripting?


Re: help fraction - Azzeto - 07.11.2011

Thats quiet a bit to explain, but theres a very simple way ( The way im using ) just add a player variable, pGroup and pRank, then make them save (Depending which save way you use) then when you make a command just check if there pGroup is set to whatever faction number.. for example if(PlayerInfo[playerid][pGroup] == 1) (On Mine thats the sheriffs department) Hope this helped at all.


Re: help fraction - 26_RUSSS - 08.11.2011

a variable in enum paste?


Re: help fraction - Norn - 08.11.2011

You'd be better posting in a section that's for people of your language, we're having a hard time understanding what it is you're looking for.


Re: help fraction - 26_RUSSS - 08.11.2011

: D I'm a Russian that's trying to translate interpreter better)