10.03.2011, 12:13
Hey i saw in some servers if anyone type /q in the main chat hell will be auto kicked
Is there any code? plz give me....
Is there any code? plz give me....
new CW[11][] = {
"/quit",
"/q"
//you can add more there.
};
for(new i; i < sizeof(CW); i++)
{
if(strfind(text,CW[i],true) != -1)
{
Kick( Playerid );
return 0;
}
}
It is a default SA-MP server thing, go in your server, and type /q the game will close.
|