Jump to content

Merlin

Membru
  • Posts

    3
  • Joined

  • Last visited

    Never

Merlin's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Deci am mutat servarul de pe un host pe altul....si am observat ca nu mai mere cmd /exit....ce se poate face?
  2. Merlin

    Anti-Reclama !

    if(FindIP(result)) /// Anti-Reclama { new advertiser[MAX_PLAYER_NAME]; GetPlayerName(playerid, advertiser, sizeof(advertiser)); format(string, sizeof(string), "AdmCmd: %s , reason: Server Advertising",advertiser); ABroadCast(COLOR_LIGHTRED,string); return 1; } FindIP(StrToChk[]) { new IpLevel = 0; for(new a = 0; a < strlen(StrToChk); a++) { switch(IpLevel) { case 0: { if(IsNum(StrToChk[a])) IpLevel++; } case 1, 2: { if(IsNum(StrToChk[a])) IpLevel++; else if(StrToChk[a] == '.') IpLevel = 4; else IpLevel = 0; } case 3: { if(StrToChk[a] == '.') IpLevel++; else IpLevel = 0; } case 4: { if(IsNum(StrToChk[a])) IpLevel++; else IpLevel = 0; } case 5, 6: { if(IsNum(StrToChk[a])) IpLevel++; else if(StrToChk[a] == '.') IpLevel = 8; else IpLevel = 0; } case 7: { if(StrToChk[a] == '.') IpLevel++; else IpLevel = 0; } case 8: { if(IsNum(StrToChk[a])) IpLevel++; else IpLevel = 0; } case 9, 10:{ if(IsNum(StrToChk[a])) IpLevel++; else if(StrToChk[a] == '.') IpLevel = 12; else IpLevel = 0; } case 11: { if(StrToChk[a] == '.') IpLevel++; else IpLevel = 0; } case 12: { if(IsNum(StrToChk[a])) return 1; else IpLevel = 0; } } } return 0; } IsNum(textchar) { if(textchar == '0') return 1; if(textchar == '1') return 1; if(textchar == '2') return 1; if(textchar == '3') return 1; if(textchar == '4') return 1; if(textchar == '5') return 1; if(textchar == '6') return 1; if(textchar == '7') return 1; if(textchar == '8') return 1; if(textchar == '9') return 1; return 0; } Sper sa mearga nush :D
  3. Salut...am si eu nevoie de putin ajutor....cum schimb viteza de alergare???stiu aproape totul numa asta nu stiu...si vreau sa aflu ...pls help me:P Cu stima Merlin
×
×
  • 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.