Create my own clan. - 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: Create my own clan. (
/showthread.php?tid=270366)
Create my own clan. -
Sting. - 20.07.2011
Can someone help me show how to create my clan.Example my clan is Gwe.I created a class,cars and objects for the clan.But now if a player goes to the clan class and presses spawn,a cilent message appears and tells he is not in the Clan!Choose another class.And if I want to make the player a member of the clan,how to make him access the clan class?Can someone help me?
Re: Create my own clan. -
Kitten - 20.07.2011
can you explain more proper its way confusing what you just said.
Re: Create my own clan. -
XGh0stz - 20.07.2011
The best way to do this is with a registration/account system of some sort, use a saved varible to determine what accounts are GWE Clan. Or you can simply do a player name check for [GWE] or something, but of course anyone with the tag would be able to access the Clan Spawn...
Re: Create my own clan. - Max_Coldheart - 20.07.2011
The best way to do this is register system, that saves the clan of the player.
Then to prevent players from entering the "Clan vehicle" use if(!clan == [GWE]) (just example)
Then if he is not in clan GWE, prevent him from entering the vehicle.
Re: Create my own clan. -
Sting. - 20.07.2011
Ok I'll try.