[FilterScript] Dynamic organizations
#21

I see, I added them again.
Reply
#22

its not for RP its for Trucking server, its highly needed.

if its really that hard to script than nvm

i just thought its could be easy with your system, lol xD

Tnx anyway! much appreicate your work!
Reply
#23

Quote:
Originally Posted by Rafiko
Посмотреть сообщение
its not for RP its for Trucking server, its highly needed.

if its really that hard to script than nvm

i just thought its could be easy with your system, lol xD

Tnx anyway! much appreicate your work!
Thank you, third time ;P

It's not hard to script actually, must add a new variable where you can store the tag in.
Reply
#24

Yay!! It works thanks alot dude. P.s you have great avatar.
Reply
#25

Quote:
Originally Posted by Neonman
Посмотреть сообщение
Yay!! It works thanks alot dude. P.s you have great avatar.
Thanks
Reply
#26

Dynamic organizations has been updated to v.2

Changelog:
  • CreateOrganizationZone can be used to create coloured "gangzones" for orgs
  • IsPlayerInOrgZone(playerid, orgname)
  • SendClientMessageToOrg(orgname, color, message)
  • Fixed some small bugs, nothing serious
  • Added auto-save for player stats and org. leaders (45sec delay)
  • Added /decline command for leaders to decline incoming requests
  • Added /ochat to chat with other org. members
Reply
#27

Hello!

Im not 100% sure how to add the factions.
I do like this, i only want to use coordinates
pawn Код:
CreateOrganization(Thunderbirds[32], -687.5341,425.3484,11.5729);
But i need to define the name "Thunderbirds" or ill get define error, how and were in the script do i define it?
Reply
#28

Hi!

You don't need to define the name of the org, it is already defined in an enum. Just use it like this:
Код:
CreateOrganization("Thunderbirds", -687.5341,425.3484,11.5729);
Reply
#29

Quote:
Originally Posted by Jakku
Посмотреть сообщение
Hi!

You don't need to define the name of the org, it is already defined in an enum. Just use it like this:
Код:
CreateOrganization("Thunderbirds", -687.5341,425.3484,11.5729);
ah ok! thanks! but it gives me 2 warning
pawn Код:
warning 213: tag mismatch
warning 202: number of arguments does not match definition
Is that because i have less then maximum orgs or something?
Reply
#30

Quote:
Originally Posted by cruising
Посмотреть сообщение
ah ok! thanks! but it gives me 2 warning
pawn Код:
warning 213: tag mismatch
warning 202: number of arguments does not match definition
Is that because i have less then maximum orgs or something?
pawn Код:
stock CreateOrganization(name[32], skin, Float:x,Float:y,Float:z, wp1 = 0,a1 = 0,wp2 = 0,a2 = 0,wp3 = 0,a3 = 0)
No, it's because you forgot to define the skin. Let's say you want skin 3;

pawn Код:
CreateOrganization("Thunderbirds", 3, -687.5341,425.3484,11.5729);
@ Jakku: Are you really sure this works?
pawn Код:
stock hexToDec(hex) { new out[11]; format(out, 11, "%i", hex); return strval(out); }
Hex is an integer, but not a normal one. Maybe you should use %x. I'm unsure, correct me if it actually does work.
Reply
#31

I have tested it and it works.
Reply
#32

Quote:
Originally Posted by Jakku
Посмотреть сообщение
I have tested it and it works.
Ah well, then it is OK!
Reply
#33

It seams that only ID 0 can use the CMDs
Reply
#34

Quote:
Originally Posted by cruising
Посмотреть сообщение
It seams that only ID 0 can use the CMDs
Eh, you have possibly done something wrong. It used to work when I tested this with my friend
Reply
#35

Because you created a filterscript and not a plugin?

Enabling the creation of dynamic organizations that upon player exiting the game, organization is saved, and deleted of memory.
Reply
#36

Guyz i want to if some one join any org and his name will colored any way to add colors of orgs
Reply
#37

Where should we add the organizations creating scripts?
Reply
#38

http://pastebin.com/raw.php?i=vCGyHWRL
Reply
#39

its n0t working Brodher Jakku plz add solidfiles
Reply
#40

Get this

http://www.solidfiles.com/d/0a5d9dde5d/
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)