07.05.2012, 13:21
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>");
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;
}