Factions in ZCMD?
#1

All I've found so far is teams, and most of the tutorials are in strcmp.

I'm looking for how to script multiple organizations using ZCMD for commands such as /makeleader, /invite, /uninvite, /giverank etc. Also, each organization has its own skinset. Something similiar to the Godfather system.

Thanks in advance
Reply
#2

pawn Код:
CMD:yourcommandhere(playerid, params[])
{
       // Do something here?
      return 1;
}
Simple.
Reply
#3

An advice, use sscanf with the ZCMD to make it more efficient and easier and faster!.

in top of your script put:
pawn Код:
#include <sscanf2>
download the latest include for sscanf and latest plugin and don't forget to add sscanf in your server.cfg

Good luck I hope I helped!
Reply
#4

Sorry, but I'm a bit of a novice and I have very little knowledge of all of this. Could you point me to a tutorial or something please?
Reply
#5

There's not any tutorials that I know of to suit your exact needs. How-ever, you might want to try looking at various scripts to see how they do it, etc.
Reply
#6

Just a heads up, i would not recommend using strcmp as it is old and extremely slow and makes it more complicated than it should be
Reply
#7

pawn Код:
#define factions
#define ZCMD
#define include
#define string
#define str

#define enum
#define hammy
#define ymmi
#define bBits
#define GG
compile it, this is a complete faction system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)