ลืมรหัสผ่าน
ดู: 899|ตอบกลับ: 2

คำสั่งพูด Premium กันโพส IP

[คัดลอกลิงก์]

if(strcmp(cmd, "/premium", true) == 0 || strcmp(cmd, "/p", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

        if(gPlayerLogged[playerid] == 0)

        {

            SendClientMessage(playerid, COLOR_GREY, "   ¤Ø³ÂѧäÁèä´éÅçͤÍÔ¹ !");

            return 1;

        }

        if(PlayerInfo[playerid][pDonateRank] < 4)

{

SendClientMessage(playerid, 0xF6498AAA, "*¤ÓÊÑ觹ÕéÊÓËÃѺ Premium à·èÒ¹Ñé¹ !");

return 1;

}

if(PlayerInfo[playerid][pDonateRank] <= 0)

{

SendClientMessage(playerid, COLOR_GREY, "   *¤Ø³äÁèÊÒÁÒöãªè ¤ÓÊÑè§ÃдѺ¹Õéä´é");

return 1;

}

if(PlayerInfo[playerid][pMuted] == 1)

{

SendClientMessage(playerid, 0x33CCFFAA, "   ¤Ø³äÁèÊÒÁÒö¾Ù´¤ØÂä´é, à¾ÃÒФسà»ç¹ãºé !");

return 1;

}

GetPlayerName(playerid, sendername, sizeof(sendername));

new length = strlen(cmdtext);

while ((idx < length) && (cmdtext[idx] <= ' '))

{

idx++;

}

new offset = idx;

new result[150];

while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))

{

result[idx - offset] = cmdtext[idx];

idx++;

}

result[idx - offset] = EOS;

if(!strlen(result))

{

SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/p)don [don chat]");

return 1;

}

for(new word=0; word < sizeof(BadWords); word++)
            {
   
DisableWord(BadWords[word][0], result);
  
        }
  
        if(strfind(result,"1",true)!= -1 && strfind(result,"2",true)!= -1 && strfind(result,"2",true)!= -1 && strfind(result,".",true)!= -1

&& strfind(result,"1",true)!= -1 && strfind(result,"5",true)!= -1

|| strfind(result,"2",true)!= -1 && strfind(result,"0",true)!= -1 && strfind(result,"3",true)!= -1 && strfind(result,".",true)!= -1

&& strfind(result,"1",true)!= -1 && strfind(result,"4",true)!= -1

|| strfind(result,"2",true)!= -1 && strfind(result,"0",true)!= -1 && strfind(result,"2",true)!= -1 && strfind(result,".",true)!= -1

&& strfind(result,"1",true)!= -1 && strfind(result,"7",true)!= -1

|| strfind(result,"2",true)!= -1 && strfind(result,"1",true)!= -1 && strfind(result,"0",true)!= -1 && strfind(result,".",true)!= -1

&& strfind(result,"1",true)!= -1)

{

   
SendClientMessage(playerid,COLOR_GRAD1," ¨Ð¾Ù´ÇèÒäÃÍèÐ !");

   
PlayerInfo[playerid][pMuted] = 1;

   
format(string, 256, "AdmWarning: %s ä´é·Ó¡ÒÃâ¾Ê IP à«Ô¿àÇÍÃìáµè¶Ù¡Ãкº¡Ñ¹äÇé¨Ö§äÁèÊÒÁÒöâ¾Êä´é", sendername);

    SendAdminMessage(COLOR_YELLOW, string);

        
return 1;

}

if(strfind(result,"122.155",true)!= -1 || strfind(result,"203.146",true)!= -1 || strfind(result,"202.172",true)!= -1)
            {
                SendClientMessage(playerid,COLOR_GRAD1," ¨Ð¾Ù´ÇèÒäÃÍèÐ !");

   
PlayerInfo[playerid][pMuted] = 1;

   
format(string, 256, "AdmWarning: %s ä´é·Ó¡ÒÃâ¾Ê IP à«Ô¿àÇÍÃì áµè¶Ù¡Ãкº¡Ñ¹äÇé¨Ö§äÁèÊÒÁÒöâ¾Êä´é", sendername);

    SendAdminMessage(COLOR_YELLOW, string);

        
return 1;
            }
            if(strfind(result,"122 155",true)!= -1 || strfind(result,"203 146",true)!= -1 || strfind(result,"202 172",true)!= -1)
            {
                SendClientMessage(playerid,COLOR_GRAD1," ¨Ð¾Ù´ÇèÒäÃÍèÐ !");

   
PlayerInfo[playerid][pMuted] = 1;

   
format(string, 256, "AdmWarning: %s ä´é·Ó¡ÒÃâ¾Ê IP à«Ô¿àÇÍÃì áµè¶Ù¡Ãкº¡Ñ¹äÇé¨Ö§äÁèÊÒÁÒöâ¾Êä´é", sendername);

    SendAdminMessage(COLOR_YELLOW, string);

        
return 1;
            }

        SpamStrings[playerid] += 3;

format(string, sizeof(string), "[~äÎ⫤ÃÒÊÃдѺ Premium~] %s (%d) ä´é¾Ù´ÇèÒ : %s", sendername, playerid, result);

SendClientMessageToAll(0x00F6F6AA, string);

}

return 1;

}
โพสต์ 2011-5-20 13:47:50 | ดูโพสต์ทั้งหมด
ขอบคุณมากๆครับ
โพสต์ 2011-10-9 11:18:52 | ดูโพสต์ทั้งหมด
sdfdsdsfsdf
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

รายละเอียดเครดิต

ปิด

เว็บมาสเตอร์แนะนำก่อนหน้า /1 ต่อไป

รูปแบบข้อความล้วน|Mobile|รายชื่อผู้ถูกระงับบัญชี| Samp-TH GTAOnline Thailand



เว็บสอนเปิดเซิฟเวอร์ GTA SAMP ONLINE, แจกสคริปต์ GTA, ขายสคริปต์ GTA, ซื้อสคริปต์ GTA SAMP, รวมระบบ GTA SAMP, รวมเซิฟ GTA ONLINE SAMP, SAMP-TH.NET, เกมจีทีเอ, GTA SAN, หาเซิฟ GTA เล่น, โปรโมทเซิฟ GTA ONLINE, วิธีเล่น GTA ONLINE, จีทีเอ ออนไลน์, หาเซิฟ GTA, เซิฟ GTA 0.3.7, เซิฟ GTA 0.3e RC5, ระบบเซิฟ GTA, สคริปต์ GTA, GTA ออนไลน์, เว็บโหลด GTA, SAMP-TH, GTA-TH, โคโล GTA, หาเซิฟ GTA ONLINE, COLO-GTA, โคโลจีทีเอ, เช่าโคโล GTA, เซิฟ GTA ออนไลน์

Copyright © 2001-2013 Comsenz Inc.   All Rights Reserved.

Powered by Discuz! X3.4

ตอบกระทู้ ขึ้นไปด้านบน ไปที่หน้ารายการกระทู้