kapookza147 โพสต์ 2011-10-28 19:51:48

[ปัดฝุ่น]สคิปของคุณบัสนำมาปัดฝุ่นใหม่

[ปัดฝุ่น]สคิปของคุณบัสนำมาปัดฝุ่นใหม่

**** Hidden Message *****

POENTHAI โพสต์ 2011-10-28 19:55:48

ดันๆๆๆๆ{:3_42:}

artsa1112 โพสต์ 2011-10-28 20:02:43

ใจๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆๆ

NuT_LoveSamp-TH โพสต์ 2011-10-28 22:14:48

ใจมาก ๆ

zeed1 โพสต์ 2011-10-28 22:42:04

zeeddrasssssssssssss

peteza369 โพสต์ 2011-10-28 22:55:56

ใจจ๊า

aon132543 โพสต์ 2011-10-28 23:49:59

thxxxxxxxxxxxx

parames3010 โพสต์ 2011-10-29 06:59:23

อื้ม ดี ขอบคุณ

DanGer โพสต์ 2011-10-29 11:31:21

ขอบคุน

tanloveto โพสต์ 2011-10-29 11:53:04

1.ไปที่ new News; แล้วเพิ่ม



เนื้อหาถูกซ่อนไว้pKillMoney,
pKillWeapon,

จากนั้นก็ Copy Code ข้างล่างไปเพิ่มใน

public OnPlayerCommandText(playerid, cmdtext[])
เนื้อหาถูกซ่อนไว้
//---------------------------------- µÑ駤èÒËÑÇ --------------------------------------
    if(strcmp(cmd, "/headvalue", true) == 0)
    {
      if(IsPlayerConnected(playerid))
         {
               new gun;
               gun = strval(tmp);
               if(PlayerInfo <= 2)
               {
                   SendClientMessage(playerid, COLOR_GREY, " you are not authorized to use that command!");
               }
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /headvalue ");
                return 1;
            }
            giveplayerid = ReturnUser(tmp);
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /headvalue ");
                return 1;
            }
            gun = strval(tmp);
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /headvalue ");
                return 1;
            }
            if(gun < 1 || gun > 46) { SendClientMessage(playerid, COLOR_GREY, "เลขอาวุธมีแค่ 1-46 เท่านั้น"); return 1; }
            new amount;
            amount = strval(tmp);
            if(amount < 1 || amount > 10000000) { SendClientMessage(playerid, COLOR_GREY, "จำนวนเงินต้องมากกว่า $1 และไม่มากกว่า $10,000,000!"); return 1; }
            if (IsPlayerConnected(giveplayerid))
            {
                if(giveplayerid != INVALID_PLAYER_ID)
                {
                  if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, " คุณไม่สามารถจ้างฆ่าตัวเองได้"); return 1; }
                  GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                  GetPlayerName(playerid, sendername, sizeof(sendername));
                  PlayerInfo += amount;
                  PlayerInfo = gun;
                  SetPlayerColor(giveplayerid, 0xFF0000FF);
                  format(string, sizeof(string), "[ข่าวสารกิจกรรม]ค่าหัวของ %s ถูกเพิ่มเป็น $%d คุณต้องใช่อาวุธ %s ในการสังหารเท่านั้น",giveplayer, PlayerInfo, Weapons);
                  SendClientMessageToAll(COLOR_YELLOW, string);
                }
            }
            else
            {
                format(string, sizeof(string), " %d ผู้เล่นนั้นไม่ได้อยู่ในเกมส์ครับ", giveplayerid);
                SendClientMessage(playerid, COLOR_GRAD1, string);
            }
      }
      return 1;
    }

หน้า: [1] 2 3 4 5 6 7 8 9 10
ดูในรูปแบบกติ: [ปัดฝุ่น]สคิปของคุณบัสนำมาปัดฝุ่นใหม่