tanloveto
โพสต์ 2011-10-17 13:03:10
if( strcmp(cmdtext, "/kame", true) == 0)
{
if(PlayerInfo >= 4)//อยากให้ใครใช้ได้ก็เปลี่ยนตรงนี้
{
if(SpamKame >= MAX_SPAM)//ดีเลย์ คงจะทำเป็นกันนะ ทำไม่เป็นโพสไว้เดะมาเพิ่มเติม
{
SendClientMessage(playerid,COLOR_WHITE,"กรุณารอสักครู่ !");
return 1;
}
SpamKame += 60;
new Float:x,Float:y,Float:z;
new Float:xx2,Float:yy2,Float:az;
new Float:x3,Float:y3;
new Float:x4,Float:y4;
new Float:x5,Float:y5;
new Float:x6,Float:y6;
new Float:xi,Float:yi;
new Float:xi2,Float:yi2;
GetPlayerPos(playerid,x,y,z);
GetPlayerFacingAngle(playerid, az);
xi = x + (5 * floatsin(-az, degrees));
yi = y + (5 * floatcos(-az, degrees));
xx2 = x + (10 * floatsin(-az, degrees));
yy2 = y + (10 * floatcos(-az, degrees));
x3 = x + (15 * floatsin(-az, degrees));
y3 = y + (15 * floatcos(-az, degrees));
x4 = x + (20 * floatsin(-az, degrees));
y4 = y + (20 * floatcos(-az, degrees));
x5 = x + (25 * floatsin(-az, degrees));
y5 = y + (25 * floatcos(-az, degrees));
x6 = x + (30 * floatsin(-az, degrees));
y6 = y + (30 * floatcos(-az, degrees));
CreateExplosion(xi2,yi2,z-1,11,0);
CreateExplosion(xi,yi,z-1,11,2.5);
CreateExplosion(xx2,yy2,z-1,11,2.5);
CreateExplosion(x3,y3,z-1,11,2.5);
CreateExplosion(x4,y4,z-1,11,2.5);
CreateExplosion(x5,y5,z-1,11,2.5);
CreateExplosion(x6,y6,z-1,11,10);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s คาเม คาเม คาเม่ ห้า !!!!", sendername);
ProxDetector(30.0, playerid, string, COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE,COLOR_LIGHTBLUE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ??????????????????");
}
return 1;
}
i-ya2011
โพสต์ 2011-10-17 14:07:51
ใจจ้า ๆ
newiwn2559
โพสต์ 2011-10-17 14:24:47
thgggggggggggggxxxxxxxxxxxxxxxxxxxxxxxxxxxx
gunon7499
โพสต์ 2011-10-17 14:35:04
ขอบคุณครับ
topzazatana
โพสต์ 2011-10-17 19:28:55
Thxxxxxxxxxxxxxx
kingcesar
โพสต์ 2011-10-19 18:27:19
ขอบคุณครับ :D
nl-ac
โพสต์ 2011-10-21 01:51:21
ขอบคุณครับ
poiulpoiul
โพสต์ 2011-10-30 15:09:50
ไหนนนนน
wimpy
โพสต์ 2011-10-30 19:19:27
เจ๋งไปเลยคับ
ppkZiizKiiE
โพสต์ 2011-10-30 23:24:33
thankssssssssssss
หน้า:
1
2
3
4
5
6
7
8
[9]
10
11
12
13
14
15
16
17
18