Clan registration - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Clan registration (
/showthread.php?tid=86863)
Clan registration -
coole210 - 16.07.2009
Okay, i want to make a clan registration system, but i've never done anything like it before, so i have NO script as i am not on my computer. Can somebody help me make it?
Examples: When they normally chat they have a tag. [BLA]Coole210 : Boo.
When they /shout ( will show shout and /me command soon ) [SHOUT] [BLA]Coole210 : Boo.
When they /me [ ! ] [BLA]Coole210 : Boo.
When they PM : PM From [BLA]Coole210 : Boo.
But when you /getid you have to search for "Coole210", so how do i make this?
Re: Clan registration -
saiberfun - 16.07.2009
what do u want exactly?
n u tried to search?
Re: Clan registration -
coole210 - 16.07.2009
I want a /buyclan /sellclan /makeclanboss /clanrename /claninfo ( shows clan members/bosses/leader )
EDIT: I have searched :S
Re: Clan registration -
coole210 - 17.07.2009
Nobody has an answer??
pawn Код:
if(!strcmp(cmdtext, "/me", true, 3)) if(Logged[playerid] == 1)
{
if((gettime()-LastShout[playerid]) < 30)
{
format(string, 128, "[ ! ] You have to wait %d seconds before shout or action", (30-(gettime()-LastMe[playerid])));
SendClientMessage(playerid, c_r, string); return 1;
}
if(cmdtext[3] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "[ ! ] USAGE: /me [action]");
return 1;
}
new str[256];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "[ ! ] %s %s", str, cmdtext[4]);
SendClientMessageToAll(GetPlayerColor(playerid), str);
LastShout[playerid] = gettime();
return 1;
}
if(!strcmp(cmdtext, "/shout", true, 6)) if(Logged[playerid] == 1)
{
if((gettime()-LastShout[playerid]) < 30)
{
format(string, 128, "[ ! ] You have to wait %d seconds before shout or action", (30-(gettime()-LastShout[playerid])));
SendClientMessage(playerid, c_r, string); return 1;
}
if(cmdtext[6] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "[ ! ] USAGE: /shout [message]");
return 1;
}
new str[256];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "[SHOUT] %s: %s", str, cmdtext[6]);
SendClientMessageToAll(GetPlayerColor(playerid), str);
LastShout[playerid] = gettime();
return 1;
}