[Help]Make Gang's - 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: [Help]Make Gang's (
/showthread.php?tid=140108)
[Help]Make Gang's -
tshadow - 07.04.2010
How,Can I do Gang's with Rank's and Invitations to the gang?
I have a system here, but I do not know if it's rank.
pawn Код:
else if(PlayerInfo[targetid][pMember] == (ex 1,2 ou 3) || PlayerInfo[targetid][pLeader] == (ex 1,2 ou 3))// Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "(insert une name)"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "(insert une name)"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "(insert une name)"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "(insert une name)"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "(insert une name)"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "(insert une name)"; }
else { rtext = "(insert une name)"; }
}
Help me please
Re: [Help]Make Gang's -
johnnyc - 07.04.2010
Maybe you mean something like this you can change the ranks and the team,id,etc.
Код:
if(gTeam[targetid] == x || PlayerInfo[targetid][pFMember] < 255)// change the x to the team ID you want.
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Outsider"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Associate"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Soldier"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Capo"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Underboss"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Godfather"; }
else { rtext = "Outsider"; }
Re: [Help]Make Gang's -
tshadow - 07.04.2010
yes but with invatation I donґt know
I need Help and sorry my inglish i'm Portugues
Re: [Help]Make Gang's -
tshadow - 07.04.2010
help me!!!!I need help!!!!
Re: [Help]Make Gang's -
johnnyc - 07.04.2010
Quote:
Originally Posted by tshadow
help me!!!!I need help!!!!
|
Sorry but i didn't understad you.
Re: [Help]Make Gang's -
tshadow - 07.04.2010
I need gang's that's to enter the gang, by invitation only.
and sorry my inglish i'm Portugues
Re: [Help]Make Gang's -
tshadow - 08.04.2010
I need to know how to make a gang that it is necessary to get an invitation from the leader, and has rank's. The rank's already know to do now only remains to do with gang invitation.