Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmdtext, "/airstrike", true) == 0)
- {
- new Float:x, Float:y, Float:z, Float:rX, Float:rY, Float:rZ;
- {
- SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
- GetPlayerPos(playerid, x, y, z);
- Test = CreateObject(2061, x, y, z-2, rX, rY, rZ);
- Test2 = CreateObject(2061, x, y+20, z-2, rX, rY, rZ);
- Test3 = CreateObject(2061, x, y-20, z-2, rX, rY, rZ);
- Test4 = CreateObject(2061, x+20, y, z-2, rX, rY, rZ);
- Test5 = CreateObject(2061, x-20, y, z-2, rX, rY, rZ);
- Andromeda = CreateObject(1683, x, y+900, z+30, rX, rY, 270);
- GetObjectPos(Andromeda, x, y, z);
- MoveObject(Andromeda, x, y-1800, z, 15);
- SetTimerEx("ResetCell", 5000, 0, "i", playerid);
- SetTimerEx("AndrBomb", 20000, 0, "i", playerid);
- SetTimerEx("AndrBomb2", 21000, 0, "i", playerid);
- SetTimerEx("AndrBomb3", 22000, 0, "i", playerid);
- SetTimerEx("AndrBomb4", 23000, 0, "i", playerid);
- SetTimerEx("AndrBomb5", 23000, 0, "i", playerid);
- PlayerInfo[playerid][FuelAmount] = PlayerInfo[playerid][FuelAmount] -1000;
- SendClientMessage(playerid, RED, "[WARNING!]Incoming Airstrike! You Have 20 Secs To Leave The Area!");
- SendClientMessage(playerid, RED, "[ATT]:Cost 1000 Fuel To Prepare This Airstrike!");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement