SA-MP Forums Archive
Help me to load teams from gm in fs - 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 me to load teams from gm in fs (/showthread.php?tid=663894)



Help me to load teams from gm in fs - Pajkovic003 - 13.02.2019

Hi guys, I have one problem.
My scripting skills are not so much good, so I want to ask you how to load/import/use teams from my gm in my fs??
Concrete I want to check what is player team, bcs. in fs after event I want to set player team back, so I need to know how to load them and maybe how code looks like?!
I would be grateful for the help!!
Thank!


Re: Help me to load teams from gm in fs - Kaliber - 14.02.2019

Use PVars or CallRemoteFunction to communicate between gamemmode and filterscript


Re: Help me to load teams from gm in fs - Pajkovic003 - 14.02.2019

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Use PVars or CallRemoteFunction to communicate between gamemmode and filterscript
Oh, thanks, can you give kind of example, I searched about it, but it's all basic?


Re: Help me to load teams from gm in fs - Pajkovic003 - 14.02.2019

Quote:
Originally Posted by ******
Посмотреть сообщение
Better, use y_groups - it is already distributed.
I wanted, but if I try I need to do too much changes.
Thanks for advice!


Re: Help me to load teams from gm in fs - Kaliber - 15.02.2019

Yes, its all basic.

Here is a tutorial: https://sampforum.blast.hk/showthread.php?tid=516617

And here is a PVar Tutorial: https://sampforum.blast.hk/showthread.php?pid=768983#pid768983


Re: Help me to load teams from gm in fs - Pajkovic003 - 16.02.2019

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Thank you soo much!


Re: Help me to load teams from gm in fs - Pajkovic003 - 16.02.2019

Quote:
Originally Posted by ******
Посмотреть сообщение
You'll need to do a lot of changes to achieve this anyway.
I will try that too, and I will make a decision what is better. Thank you too friend!