SA-MP Forums Archive
[FilterScript] [FS]Organization Script [SCRIPTED BETTER NOW] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS]Organization Script [SCRIPTED BETTER NOW] (/showthread.php?tid=102989)



Please delete - outdated - Jakku - 18.10.2009

This was a non-stable, old, slow, unoptimized and static version of the script. Here is a dynamic one made by me: https://sampforum.blast.hk/showthread.php?tid=303864


Re: [FS]Organization Script - nuriel6633 - 18.10.2009

tanks :P


Re: [FS]Organization Script - Sal_Kings - 18.10.2009

This is good for noobs like me.


Re: [FS]Organization Script - SpiderPork - 18.10.2009

You could make this dynamic so it's easier to edit.
Good job anyways, I could say .


Re: [FS]Organization Script - krisko_g1 - 18.10.2009

ah dude can you explane how i can i set maiself as a leader?


Re: [FS]Organization Script - Jake Canfield - 18.10.2009

Great dude this really helps me!

One thing, I have set it to LSPD instead of LVPD but how would I go about adding another org?

Would I do this?
pawn Код:
{
LSPDMember[playerid] = 0;
LSPDLeader[playerid] = 0;
LSPDLeader[playerid] = dUserINT(PlayerName(playerid)).("lspd_leader");
LSPDMember[playerid] = dUserINT(PlayerName(playerid)).("lspd_member");
return 1;
}
{
GroveMember[playerid] = 0;
GroveLeader[playerid] = 0;
GroveLeader[playerid] = dUserINT(PlayerName(playerid)).("grove_leader");
GroveMember[playerid] = dUseINT(PlayerName(playerid)).("grove_leader");
Or would the 0's in grove be 1's or how would i set up a gang like something like that.

Jake----

EDIT: I also get this error when compiling and running.

Код:
F:\PC Games\Servers\RC10-1 Server\filterscripts\Org.pwn(7) : fatal error 100: cannot read from file: "dudb"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: [FS]Organization Script - Jakku - 19.10.2009

Quote:
Originally Posted by Jake Canfield
Great dude this really helps me!

One thing, I have set it to LSPD instead of LVPD but how would I go about adding another org?

Would I do this?
pawn Код:
{
LSPDMember[playerid] = 0;
LSPDLeader[playerid] = 0;
LSPDLeader[playerid] = dUserINT(PlayerName(playerid)).("lspd_leader");
LSPDMember[playerid] = dUserINT(PlayerName(playerid)).("lspd_member");
return 1;
}
{
GroveMember[playerid] = 0;
GroveLeader[playerid] = 0;
GroveLeader[playerid] = dUserINT(PlayerName(playerid)).("grove_leader");
GroveMember[playerid] = dUseINT(PlayerName(playerid)).("grove_leader");
Or would the 0's in grove be 1's or how would i set up a gang like something like that.

Jake----

EDIT: I also get this error when compiling and running.

Код:
F:\PC Games\Servers\RC10-1 Server\filterscripts\Org.pwn(7) : fatal error 100: cannot read from file: "dudb"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Download the dudb- include example at DracoBlue's website. I may send you a link later. And, if you defined GroveLeader & GroveMember and made new /delmember and setmember for grove, you can do it . Later I make a new version with more orgs


Re: [FS]Organization Script - blondi - 19.10.2009

Thanks


Re: [FS]Organization Script - Jakku - 19.10.2009

Quote:
Originally Posted by blondi
Thanks
Nice if you like


Re: [FS]Organization Script - Dainyzxz - 19.10.2009

its gud for modify to something else