if(strcmp(cmd, "/ufo", true) == 0)
{
if (PlayerInfo[playerid][pDonateRank] >= 1)อันนี้คือระดับ VIP
{
GetPlayerName(playerid, sendername, sizeof(sendername));
SetPlayerAttachedObject(playerid,0,3515,1,-0.609999,0.000000,-0.003999,0.000000,90.900000,0.000000,0.832001,0.818000,0.553001);
SetPlayerAttachedObject(playerid,1,18843,1,-0.712000,0.000000,0.000000,0.000000,0.000000,0.000000,0.014000,0.015000,0.016000);
SetPlayerAttachedObject(playerid,2,3515,1,0.133001,-0.011000,0.017000,0.000000,-90.000000,0.000000,0.818000,0.772001,0.359001);
SetPlayerAttachedObject(playerid, 0, 3872, 1, -3.628666, 2.557187, -1.356414, 51.795341, 44.990257, 247.158721, 2.041157, 2.011405, 2.017693 );//
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK);
SetPlayerAttachedObject(playerid,3,18843,1,0.074999,-0.017000,0.026999,0.000000,0.000000,0.000000,0.019000,0.020000,0.020000);
format(string, sizeof(string), "* %s เยสKOKนายมาจากอวกาศอุบ๊ะตุ้งอะ /ufo", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SendClientMessage(playerid, COLOR_GRAD1, "สำหรับVIPเท่านั้น!!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, "ÊÓËÃѺ ID Super VIP à·èÒ¹Ñé¹");
return 1;
}
return 1;
} |