Factions in ZCMD? - 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)
+--- Thread: Factions in ZCMD? (
/showthread.php?tid=525310)
Factions in ZCMD? -
Strummer - 11.07.2014
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
Re: Factions in ZCMD? -
Cena44 - 11.07.2014
pawn Код:
CMD:yourcommandhere(playerid, params[])
{
// Do something here?
return 1;
}
Simple.
Re: Factions in ZCMD? -
Stanford - 11.07.2014
An advice, use sscanf with the ZCMD to make it more efficient and easier and faster!.
in top of your script put:
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!
Re: Factions in ZCMD? -
Strummer - 11.07.2014
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?
Re: Factions in ZCMD? -
Abagail - 11.07.2014
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.
Re: Factions in ZCMD? -
TheKillZone - 11.07.2014
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
Re: Factions in ZCMD? -
Faix - 11.07.2014
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