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

มีใครรู้ โค้ด PlayerToPoint มั้ยครับ

[คัดลอกลิงก์]
มีใครรู้ โค้ด PlayerToPoint มั้ยครับ
โพสต์ 2021-3-6 21:08:42 | ดูโพสต์ทั้งหมด

IsPlayerInRangeOfPoint was added in SA-MP 0.3a        This function was added in SA-MP 0.3a and will not work in earlier versions!
  1. Parameters:
  2. (playerid, Float:range, Float:x, Float:y, Float:z)
  3. playerid        The ID of the player.
  4. Float:range        The furthest distance the player can be from the point to be in range.
  5. Float:x        The X coordinate of the point to check the range to.
  6. Float:y        The Y coordinate of the point to check the range to.
  7. Float:z        The Z coordinate of the point to check the range to.

  8. Return Values:
  9. true - The player is in range of the point.
  10. false - The player is not in range of the point.
คัดลอกไปที่คลิปบอร์ด


  1. if (!strcmp("/stadium", cmdtext))
  2. {
  3.     if (IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
  4.     {
  5.             SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
  6.     }

  7.     return 1;
  8. }
คัดลอกไปที่คลิปบอร์ด
โพสต์ 2023-5-31 22:16:15 | ดูโพสต์ทั้งหมด
sdsdsadsssssssssssss
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

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

ปิด

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

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