jameza59 โพสต์ 2011-10-20 18:05:01

ใจจ้า

tanloveto โพสต์ 2011-10-22 20:06:18

//----------------------------------------------------------------------------------
        if(strcmp(cmd, "/givepoint", true) == 0)
        {
          if(IsPlayerConnected(playerid))
          {
                        tmp = strtok(cmdtext, idx);
                        if(!strlen(tmp))
                        {
                                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /givepoint ");
                                return 1;
                        }
                        new playa;
                        new money;
                        playa = ReturnUser(tmp);
                        tmp = strtok(cmdtext, idx);
                        money = strval(tmp);
                        if (PlayerInfo >= 9999)
                        {
                          if(IsPlayerConnected(playa))
                          {
                                if(playa != INVALID_PLAYER_ID)
                                {
                                                PlayerInfo += money;
                                                GetPlayerName(playa, giveplayer, sizeof(giveplayer));
                                                GetPlayerName(playerid,sendername, sizeof(sendername));
                                                format(string, 256, "AdmWarning: %s ä´éãËé Point á¡è %s ¨Ó¹Ç¹ %d point", sendername, giveplayer, money);
                                                SendAdminMessage(COLOR_YELLOW, string);
                                                format(string, 256, "Admin ä´éà¾ÔèÁ Point ãËé¤Ø³¨Ó¹Ç¹ %d point",money);
                                                SendClientMessage(playa,COLOR_DBLUE,string);
                                        }
                                }
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GRAD1, "   you are not authorized to use that command!");
                        }
                }
                return 1;
        }
        if(strcmp(cmd, "/point", true) == 0)
        {
          if(IsPlayerConnected(playerid))
          {
                        tmp = strtok(cmdtext, idx);
                        if(!strlen(tmp))
                        {
                                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /point ");
                                return 1;
                        }
                        new playa;
                        new money;
                        playa = ReturnUser(tmp);
                        tmp = strtok(cmdtext, idx);
                        money = strval(tmp);
                        if (PlayerInfo >= 9999)
                        {
                          if(IsPlayerConnected(playa))
                          {
                                if(playa != INVALID_PLAYER_ID)
                                {
                                                PlayerInfo -= money;
                                                GetPlayerName(playa, giveplayer, sizeof(giveplayer));
                                                GetPlayerName(playerid,sendername, sizeof(sendername));
                                                format(string, 256, "AdmWarning: %s ä´éź Point á¡è %s ¨Ó¹Ç¹ %d point", sendername, giveplayer, money);
                                                SendAdminMessage(COLOR_YELLOW, string);
                                                format(string, 256, "Admin ä´éź Point ãËé¤Ø³¨Ó¹Ç¹ %d point",money);
                                                SendClientMessage(playa,COLOR_DBLUE,string);
                                        }
                                }
                        }
                        else
                        {
                                SendClientMessage(playerid, COLOR_GRAD1, "   you are not authorized to use that command!");
                        }
                }
                return 1;
        }

069084144 โพสต์ 2011-10-22 22:59:38

ใจครับ

artsa1112 โพสต์ 2011-10-23 00:48:46

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

1982 โพสต์ 2011-10-30 21:57:12

จัยค๊าป

ppkZiizKiiE โพสต์ 2011-10-30 23:41:05

thankssssssssssssssss

underpang12 โพสต์ 2011-11-5 23:04:06

lkhllkjkljkljlkjjlkjlkjl

poiulpoiul โพสต์ 2011-11-6 19:18:04

ใจๆๆๆๆๆๆ

kamin132 โพสต์ 2011-11-7 22:04:10

โห ดีมากครับ

shadowsa โพสต์ 2011-11-13 15:25:43

ขอบคุณคับ
หน้า: 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20
ดูในรูปแบบกติ: [คำสั่ง]ให้กล่องกิจกรรม