Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Restrictie pe server


Question

Posted

Cum fac sa nu poata intra nimeni cu numele[ATr.G]

-de exemplu JoeMan[ATr.G] sau oricare alt nume care contine la sfarsit sau inceput [ATr.G]

stats.php?page=2&ip=samp.zonek.ro&port=7777

6 answers to this question

Recommended Posts

Posted

Tot merge sa intru

ah, am uitat ceva.

stuntman-=!! link=topic=7507.msg46488#msg46488 date=1290852371]

La OnPlayerConnect:

if(strfind(LanguageNames, "[ATr.G]", true) != -1)  { Kick(playerid); }
=>
    new LanguageNames[MAX_PLAYER_NAME];
    GetPlayerName(playerid,LanguageNames,MAX_PLAYER_NAME);
    if(strfind(LanguageNames, "[ATr.G]", true) != -1)  { Kick(playerid); }
ca sa adaugi mai multe taguri multiplici linia cu strfind=>
    new LanguageNames[MAX_PLAYER_NAME];
    GetPlayerName(playerid,LanguageNames,MAX_PLAYER_NAME);
    if(strfind(LanguageNames, "[ATr.G]", true) != -1)  { Kick(playerid); }
    if(strfind(LanguageNames, "[TAG2]", true) != -1)  { Kick(playerid); }
    if(strfind(LanguageNames, "[TAG3]", true) != -1)  { Kick(playerid); }

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.