|
|
#1 |
|
Little Clucker
![]() Join Date: May 2011
Location: United States, Mass
Posts: 20
Reputation: 0
|
Realistic Nuke Sript Version 0.2.5 Players can do /makenuke at 1 of 4 locations
Command List: /makenuke - create a nuke at the spawn point. Takes 2 mins /launchnuke - launches the nuke. /nukea - Takes RCON admin to nuke location A /nukeb - Takes RCON admin to nuke location B /nukec - Takes RCON admin to nuke location C /nuked - Takes RCON admin to nuke location D /nonuke - RCON admin cancels current nuke Screenshots: Screen 1 - One of the nuke site Screen 2 - another nuke site Screen 3 - another nuke site Screen 4 - Map of one site Screen 5 - Fallout (realistically, can be called debris as fallout is not visible) 0.2 Updates:
Additional Notes: I run this on a dedicated box with 12gb of ram and 6core i5 proc, it doesn't lag out, however on my other dedi with 4gb ram and 3cores it will sometimes lag out the server, this is because it is constantly checking where players are, and if they are in a vehicle. I will update this script for better effectiveness. ==================== V. 0.1 Pastebin: http://pastebin.com/nYE9tZEW V. 0.2 Pastebin: http://pastebin.com/0YmDXtXf Mirror: DOWNLOAD Mirror: DOWNLOAD V. 0.2.5 Pastebin Download (amx+pwn+foreach zip) Foreach (samp thread) Other: This is my first public script; positive feedback welcome and encouraged. Last edited by blackwidow18; 09/07/2011 at 06:16 PM. Reason: Updated Script |
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Dec 2010
Location: Zagreb, Croatia
Posts: 990
Reputation: 39
|
Good work bro! Ill give you 10/10 if your a beginner! If not, 8/10
|
|
|
|
|
|
#3 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2011
Location: Milan, Italy
Posts: 355
Reputation: 28
|
Lacks of video or at least screenshot!
Nice post attract more user, and this is really too simple However nice job. I suggest you some part to correct: Code:
if(GetVehicleModel(vehicleid) == 523) // Open Top
{
new Float:hp;
GetPlayerHealth(i,hp);
SetPlayerHealth(i,(hp-3));
SetPlayerDrunkLevel (i, 5000);
fallouthp = SetTimer("Fallout",6000,false);
}
Code:
if(GetVehicleModel(vehicleid) == id || GetVehicleModel(vehicleid) == id2 || GetVehicleModel(vehicleid) == id3 ) // Open Top
{
new Float:hp;
GetPlayerHealth(i,hp);
SetPlayerHealth(i,(hp-3));
SetPlayerDrunkLevel (i, 5000);
fallouthp = SetTimer("Fallout",6000,false);
}
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Sep 2010
Location: Northpole
Posts: 658
Reputation: 26
|
Looks good. Testing now
|
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
Good job why not use foreach ?
|
|
|
|
#6 | |
|
Little Clucker
![]() Join Date: May 2011
Location: United States, Mass
Posts: 20
Reputation: 0
|
Quote:
Thanks, I will make that note for when I address the other issues. I will record a video place a screen shot shortly when I get home later on. Thanks for the feedback. |
|
|
|
|
|
|
#7 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: That box in front of your house stealing your wifi.
Posts: 1,277
Reputation: 277
|
pawn Code:
Tip: -Remove engine[MAX_VEHICLES] (i can see you ripped this script out of a gamemode i guess ?) -If you are using true/false, use a bool like this pawn Code:
also i think if someone would create a nuke, everyone can actually launch it! it doesnt create the author of the nuke. |
|
|
|
|
|
#8 |
|
Little Clucker
![]() Join Date: May 2011
Location: United States, Mass
Posts: 20
Reputation: 0
|
Kinda; I made this into an older gamemode script. When i started working on my own i remove this script out of the old gamemode into this filterscript.
The engine part i forgot about that. That was a feature i was working on, where after so much time a vehicle engine is turned on and exposed to fallout it causes the vehicle to stall. Thank you for the Tip! |
|
|
|
|
|
#9 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2010
Location: That box in front of your house stealing your wifi.
Posts: 1,277
Reputation: 277
|
However the effect is pretty nice, good choise of weatherid and drunkcam!
Screenshot for the people who are interested :
|
|
|
|
|
|
#10 |
|
Big Clucker
![]() ![]() Join Date: Apr 2011
Location: Indonesia
Posts: 94
Reputation: 0
|
Nice Work, This Is So Awesome Man
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [HD] First nice SA-MP Nuke/Nuclear missile script (NO MODS) | DaneAMattie | Screenshots and Videos | 37 | 22/04/2012 09:14 AM |
| nuclear bomb | Headshot1108 | Help Archive | 4 | 06/04/2010 12:46 PM |
| nuclear bomb | Jason_Borne420 | Help Archive | 3 | 10/10/2009 09:15 PM |
| Any one? Bomb Script | robanswe | Help Archive | 1 | 26/04/2009 01:48 AM |