SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 09/07/2011, 09:04 AM   #1
Deviant96
Big Clucker
 
Join Date: May 2011
Location: Indonesia
Posts: 57
Reputation: 2
Default [ASK]Airstrike/nuke system in TDM

I'm going to make a TDM server. I want to add nuke and airstrike but, i don't know the pawn code for it.
The team was:
pawn Code:
#define TEAM_MILITARY
#define TEAM_TERORIST

The military has airstrikes and terorist has nukes. The airstrikes and nukes attack the player position who called it. And the delay time for airstrikes and nukes before it activated again are 5 minutes. How? Thanks before
__________________
"Even Earth tells us to learn from anything. Human race learned the basic survival on this planet. We are here for help if anyway we can. SAMP Wiki its just a guide with few instructions. You will never get the Advance Pawno Scripting with it. And You're not making your ancestors proud of yourself , Respect The Learners mate and the same goes for everyone." - Ballu Miaa
Deviant96 is offline  
Old 09/07/2011, 09:08 AM   #2
jameskmonger
Banned
 
Join Date: Nov 2009
Location: London, England
Posts: 1,197
Reputation: 73
Default Re: [ASK]Airstrike/nuke system in TDM

pawn Code:
StartKillstreak(playerid) {
    new Float:x, Float:y, Float:z;
        GetPlayerPos(playerid, x, y, z);
    SetTimerEx(FinishKillstreak, 300000, false, "fff", x, y, z);
}

FinishKillstreak(Float:x, Float:y, Float:z) {
    CreateExplosion(x+random(5), y+random(5), z+random(5), 6, 25.0);
}
jameskmonger is offline  
Old 09/07/2011, 05:37 PM   #3
blackwidow18
Little Clucker
 
Join Date: May 2011
Location: United States, Mass
Posts: 22
Reputation: 1
Default Re: [ASK]Airstrike/nuke system in TDM

http://forum.sa-mp.com/showthread.php?t=260117

an airstrike would be similar. Just create the explosion near the targeted player.
blackwidow18 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Airstrike system - Based on Modern Warfare 2 Hiddos Includes 43 09/04/2013 02:54 PM
[FilterScript] [FS] Simple Airstrike System & Hydra Bomb addition. Backwardsman97 Filterscripts 46 19/10/2012 12:15 AM
/Nuke not working. cozza123456 Help Archive 1 27/02/2010 05:37 PM
Nuke: doesn't work WThieves Help Archive 3 24/12/2009 01:41 PM


All times are GMT. The time now is 11:01 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.