Quote from: yazeen on March 20, 2011, 05:41:50 AM
I can make a clan protection aldo its simple
i need time to make ill give a exampleCode Selectnew n[9]; GetPlayerName(playerid,n,9);
if(!strcmp(n,"[AsS]"))
{
SendClientMessage(playerid,COLOR_RED,"Welcome to the server);
}
else
{
Kick(playerid);
SendClientMessage(playerid,COLOR_RED,"You are not in [AsS] clan");
u can do do this for all clans use general discussion in vcmp forum to find clans !! Simple
Quote from: heekz.shadow on March 20, 2011, 06:56:33 AM
Making a lil quote.
Yazeen.It would be bugged cuz you setted 9
It need to be 5
Including [] and AsS
Respectfully
heekz.shadow
Quote from: yazeen on March 20, 2011, 08:17:40 AM
Your both wrongQuote from: yazeen on March 20, 2011, 05:41:50 AM
I can make a clan protection aldo its simple
i need time to make ill give a exampleCode Selectnew n[9]; GetPlayerName(playerid,n,9);
if(!strcmp(n,"[AsS]"))
{
SendClientMessage(playerid,COLOR_RED,"Welcome to the server);
}
else
{
Kick(playerid);
SendClientMessage(playerid,COLOR_RED,"You are not in [AsS] clan");
u can do do this for all clans use general discussion in vcmp forum to find clans !! Simple
changedCode Selectnew n[9]; GetPlayerName(playerid,n,5);
if(!strcmp(n,"[AsS]"))
{
SendClientMessage(playerid,COLOR_RED,"Welcome to the server);
}
else
{
Kick(playerid);
SendClientMessage(playerid,COLOR_RED,"You are not in [AsS] clan");
Correct heekZ?
Both Wrong