SA-MP Forums Archive
Scripting Help - 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: Scripting Help (/showthread.php?tid=662180)



Scripting Help - ZigGamerx - 25.12.2018

Hello guys, i am making a GameMode and i want when player will register so he will have to choose the team and that will be his permanent team after whenever is come's online so after login he will be spawned at his registered team.

NOTE: I am using SQLite


Re: Scripting Help - Hunud - 25.12.2018

Do it in the same way as you do for saving a skin


Re: Scripting Help - ZigGamerx - 25.12.2018

I thought you gonna help me with some coding's


Re: Scripting Help - silvan - 26.12.2018

think of it this way, you need to save a variable with the team id in his account when he register, after when he login again, simply read that variable from his account and set his team accordingly


Re: Scripting Help - ZigGamerx - 26.12.2018

Thanks, got it

+REP to both