Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 06.05.2012
Quote:
Originally Posted by Anonym2009
Getting Error: include\clan.inc(169) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
COMMAND:remplayer(playerid,params[]) { new target; if(!sscanf(params, "u", target)) { Here-> RemovePlayerFromClan(playerid, target); return 1; } else SendClientMessage(playerid,-1,"USAGE: /remplayer <playerid>"); return 1; }
|
Thanks for reporting this! Please check my first post, there is a fix for this error/bug!
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
nGen.SoNNy - 06.05.2012
Idea: Add something like gang leader\member skin and color of the name...
EDIT: change weap2 to weap3 :P
pawn Код:
new clanquery3[100];
new give_weap3[10];
format(clanquery3, sizeof(clanquery3), "SELECT weap2 FROM clans WHERE clanname = '%s'", GetPlayerClan(playerid));
mysql_query(clanquery3);
mysql_store_result();
mysql_fetch_row(give_weap3);
mysql_free_result();
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 07.05.2012
Quote:
Originally Posted by Anonym2009
Idea: Add something like gang leader\member skin and color of the name...
EDIT: change weap2 to weap3 :P
pawn Код:
new clanquery3[100]; new give_weap3[10]; format(clanquery3, sizeof(clanquery3), "SELECT weap2 FROM clans WHERE clanname = '%s'", GetPlayerClan(playerid)); mysql_query(clanquery3); mysql_store_result(); mysql_fetch_row(give_weap3); mysql_free_result();
|
Sure, will add skins and colors to next version! Also, thanks for reporting that weap bug, fixed the Pastebin version!
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
nGen.SoNNy - 07.05.2012
Add me to helpers if you want
![Smiley](images/smilies/smile.png)
)
In your post Replace SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3> to SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3>");
pawn Код:
COMMAND:cclan(playerid,params[])
{
new cname[30], ctag[30], cpass[30], cw1, cw2, cw3;
if(!sscanf(params, "s[30]s[30]s[30]iii", cname, ctag, cpass, cw1, cw2, cw3))
{
CreateClan(playerid, cname, ctag, cpass, "", "", cw1, cw2, cw3);
return 1;
}
else SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3>
return 1;
}
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 07.05.2012
Quote:
Originally Posted by Anonym2009
Add me to helpers if you want ![Smiley](images/smilies/smile.png) )
Can you help me to create /invite /accept & /deny ![Cheesy](images/smilies/biggrin.png) ?
In your post Replace SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3> to SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3>");
pawn Код:
COMMAND:cclan(playerid,params[]) { new cname[30], ctag[30], cpass[30], cw1, cw2, cw3; if(!sscanf(params, "s[30]s[30]s[30]iii", cname, ctag, cpass, cw1, cw2, cw3)) { CreateClan(playerid, cname, ctag, cpass, "", "", cw1, cw2, cw3); return 1; } else SendClientMessage(playerid,-1,"USAGE: /cclan <clan-name> <clan-tag> <clan-pass> <weap1> <weap2> <weap3> return 1; }
|
Oh lol, thank you man, I am so stupid!
![Cheesy](images/smilies/biggrin.png)
Added you to credits, and gave you some rep!
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
varga - 10.05.2012
I use #include <clan> and my PAWN script crashes why
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 11.05.2012
Quote:
Originally Posted by varga
I use #include <clan> and my PAWN script crashes why ![Huh?](images/smilies/confused.gif)
|
Yet again you did something wrong! :O
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
varga - 11.05.2012
i did everithing and tried it with a new gm too but the same my PAWN crashes
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
RandomDude - 16.04.2013
You could also change add the player to clan like a invitation to the clan like
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 17.04.2013
Quote:
Originally Posted by Ronaldo_raul™
GRRRRRRRRRR! I am waiting since your last post saying you would update it!
GRRRRRooooooaaar! e.e!
|
Soz hehe!
Quote:
Originally Posted by RandomDude
This is awesome I MIGHT make a clan script with this and release it ![Grin](images/smilies/biggrin.gif)
|
Sure, just keep the credits!
Quote:
Originally Posted by RandomDude
You could also change add the player to clan like a invitation to the clan like
|
You can easily do it in your FS by yourself!
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 17.04.2013
VERSION 1.4 IS HERE! NEW FEATURES AND IMPROVEMENTS!
Please redownload! ![Smiley](images/smilies/smile.png)
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
sith123 - 17.04.2013
Thanks for sharing .
+1 Rep
I will try it soon .
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
WotusPower - 18.04.2013
Se fizesse em strcmp, eu pensaria no rep
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 18.04.2013
Quote:
Originally Posted by WotusPower
Se fizesse em strcmp, eu pensaria no rep ![Smiley](images/smilies/smile.png)
|
English please!
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
ProShooter22 - 30.04.2013
clan.inc(52) : warning 217: loose indentation
warning 217: loose indentation
pls help
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
Javed_Ahmadzai - 02.06.2013
plz put media fire or any other download link with plugins pastebin not working
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 02.06.2013
Quote:
Originally Posted by Javed_Ahmadzai
plz put media fire or any other download link with plugins pastebin not working ![Sad](images/smilies/sad.gif)
|
It should work :O
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
Ronaldo_raul™ - 19.06.2013
Quote:
Originally Posted by fiki574
It should work :O
|
Pastebin is blocked in India.
Add another link please.
Re: clan.inc -> Easy-to-use, plug-n-play clan system -
fiki574 - 25.12.2015
Quote:
Originally Posted by Leopards
i tried but commands and when i try to login to server it will say register and when i register than nothing happen
|
It's pretty outdated, so you need to do few tweaks to make it actually work.