[Include] clan.inc -> Easy-to-use, plug-n-play clan system
#21

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!
Reply
#22

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();
Reply
#23

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!
Reply
#24

Add me to helpers if you want)

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;
}
Reply
#25

Quote:
Originally Posted by Anonym2009
Посмотреть сообщение
Add me to helpers if you want)
Can you help me to create /invite /accept & /deny ?

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!
Added you to credits, and gave you some rep!
Reply
#26

I use #include <clan> and my PAWN script crashes why
Reply
#27

Quote:
Originally Posted by varga
Посмотреть сообщение
I use #include <clan> and my PAWN script crashes why
Yet again you did something wrong! :O
Reply
#28

i did everithing and tried it with a new gm too but the same my PAWN crashes
Reply
#29

You could also change add the player to clan like a invitation to the clan like
Quote:

COMMAND:cinvite

Reply
#30

Quote:
Originally Posted by Ronaldo_raul™
View Post
GRRRRRRRRRR! I am waiting since your last post saying you would update it!
GRRRRRooooooaaar! e.e!
Soz hehe!

Quote:
Originally Posted by RandomDude
View Post
This is awesome I MIGHT make a clan script with this and release it
Sure, just keep the credits!

Quote:
Originally Posted by RandomDude
View Post
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!
Reply
#31

VERSION 1.4 IS HERE! NEW FEATURES AND IMPROVEMENTS!

Please redownload!
Reply
#32

Thanks for sharing .
+1 Rep
I will try it soon .
Reply
#33

Se fizesse em strcmp, eu pensaria no rep
Reply
#34

Quote:
Originally Posted by WotusPower
Посмотреть сообщение
Se fizesse em strcmp, eu pensaria no rep
English please!
Reply
#35

clan.inc(52) : warning 217: loose indentation
warning 217: loose indentation


pls help
Reply
#36

plz put media fire or any other download link with plugins pastebin not working
Reply
#37

Quote:
Originally Posted by Javed_Ahmadzai
View Post
plz put media fire or any other download link with plugins pastebin not working
It should work :O
Reply
#38

Quote:
Originally Posted by fiki574
View Post
It should work :O
Pastebin is blocked in India.


Add another link please.
Reply
#39

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)