06.05.2012, 14:52
Quote:
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 Код:
|
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 Код:
|
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();
Idea: Add something like gang leader\member skin and color of the name...
EDIT: change weap2 to weap3 :P 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;
}
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:cinvite |
GRRRRRRRRRR! I am waiting since your last post saying you would update it!
GRRRRRooooooaaar! e.e! |
This is awesome I MIGHT make a clan script with this and release it
|