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

อยากได้ระบบส่องคนอื่นอะคับ

[คัดลอกลิงก์]
ใครมีมั่งระบบส่อง ตรวจจับโปรไร พวกนี้ อะ
โพสต์ 2011-10-6 06:26:09 | ดูโพสต์ทั้งหมด
ลองนำไปปรับแต่งเองนะครับ เช่น ใครสามารถใช้คำสั่งนี้ได้บ้าง

อันนี้เป็นคำสั่งส่อง /recon , /tv
  1. if(strcmp(cmd, "/tv", true) == 0 || strcmp(cmd, "/recon", true) == 0)
  2.         {
  3.             if(IsPlayerConnected(playerid))
  4.             {
  5.                 if(PlayerInfo[playerid][pDonateRank] > 0  || PlayerInfo[playerid][pAdmin] >= 1)
  6.                 {
  7.                     if(WatchingTV[playerid] < 1)
  8.                             {
  9.                                 GetPlayerPos(playerid, Unspec[playerid][Coords][0],Unspec[playerid][Coords][1],Unspec[playerid][Coords][2]);
  10.                         }
  11.                 }
  12.             new hkey = PlayerInfo[playerid][pPhousekey];
  13.                         new house = PlayerInfo[playerid][pLocal];
  14.                         if(Spectate[playerid] == 255 && PlayerInfo[playerid][pLocal] != 255 || Spectate[playerid] == 255 && PlayerInfo[playerid][pAdmin] > 0)
  15.                         {
  16.                                 GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]);
  17.                                 Unspec[playerid][sPint] = PlayerInfo[playerid][pInt];
  18.                                 Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal];
  19.                                 PlayerInfo[playerid][pLocal] = 255;
  20.                                 gTeam[playerid] = 0;
  21.                         }
  22.                         tmp = strtok(cmdtext, idx);
  23.                         if(strcmp("off", tmp, true, strlen(tmp)) == 0)
  24.                         {
  25.                             if(WatchingTV[playerid] > 0)
  26.                             {
  27.                                 WatchingTV[playerid] = 0;
  28.                                         Spectate[playerid] = 253;
  29.                                         GameTextForPlayer(playerid, "~w~                TV~n~~r~                Off", 5000, 6);
  30.                                         PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
  31.                                         return 1;
  32.                                 }
  33.                                 else
  34.                                 {
  35.                                     SendClientMessage(playerid, COLOR_GREY, "   You are not watching TV !");
  36.                                     return 1;
  37.                                 }
  38.                         }
  39.                         if(PlayerInfo[playerid][pAdmin] < 1)
  40.                         {
  41.                                 if(house == 255)
  42.                                 {
  43.                                         GameTextForPlayer(playerid, "~r~There is no tv here", 5000, 1);
  44.                                         return 1;
  45.                                 }
  46.                         }
  47.                         if(PlayerInfo[playerid][pAdmin] > 1 || PlayerToPoint(12.0, playerid, HouseInfo[hkey][hExitx], HouseInfo[hkey][hExity],HouseInfo[hkey][hExitz]))
  48.                         {
  49.                             if(HouseInfo[hkey][hHealthx] != 1)
  50.                             {
  51.                                 GameTextForPlayer(playerid, "~r~This upgrade isn't installed", 5000, 1);
  52.                                 return 1;
  53.                             }
  54.                                 giveplayerid = ReturnUser(tmp);
  55.                                 if(IsPlayerConnected(giveplayerid))
  56.                                 {
  57.                                     if(giveplayerid != INVALID_PLAYER_ID)
  58.                                     {
  59.                                         Spectate[playerid] = giveplayerid;
  60.                                                 new Float:health;
  61.                                                 GetPlayerHealth(Spectate[playerid], health);
  62.                                                 GetPlayerName(Spectate[playerid], giveplayer, sizeof(giveplayer));
  63.                                                 new cash =  GetPlayerMoney(Spectate[playerid]);
  64.                                                 if (PlayerInfo[playerid][pAdmin] >= 1)
  65.                                                 {
  66.                                                         format(string, sizeof(string), "Recon: (%d) %s $%d H:%.0f",Spectate[playerid],giveplayer,cash,health);
  67.                                                 }
  68.                                                 else
  69.                                                 {
  70.                                                         format(string, sizeof(string), "UAV: (%d) %s",Spectate[playerid],giveplayer);
  71.                                                 }
  72.                                                 SendClientMessage(playerid, COLOR_GREEN, string);
  73.                                                 WatchingTV[playerid] = 1;
  74.                                         }
  75.                                 }
  76.                                 else
  77.                                 {
  78.                                         SendClientMessage(playerid, COLOR_GREEN, "Target is not available.");
  79.                                 }
  80.                         }
  81.                         else
  82.                         {
  83.                                 SendClientMessage(playerid, COLOR_GREEN, "   You are not in your House !");
  84.                                 return 1;
  85.                         }
  86.                 }
  87.                 return 1;
  88.         }
คัดลอกไปที่คลิปบอร์ด
แถมคำสั่งเล็กๆน้อยๆให้ครับ
  1. if(strcmp(cmd, "/uncon", true) == 0)
  2.         {
  3.             if(IsPlayerConnected(playerid))
  4.             {
  5.                         SetCamBack(playerid);
  6.                 }
  7.                 return 1;
  8.         }
คัดลอกไปที่คลิปบอร์ด
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

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

ปิด

เว็บมาสเตอร์แนะนำก่อนหน้า /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

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