ItsMods

Full Version: code why want this work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

int()
{


level thread nuke();

nukePlane()
{
nuke = spawnStruct();
nuke.fx =loadfx("maps/mp_fx/_mp_nuked_nuclear_explosion" );
for(;;Wink
{
if(self meleebuttonpressed())
{
napalmSelectorSize =getDvarIntDefault(#"scr_napalmSelectorSize; 3000);
self beginLocationNapalmSelector("map_napalm_Selector", napalmSelectorSize,
"killstreak_napalm" )
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

int()
{


level thread nuke();

nukePlane()
{
nuke = spawnStruct();
nuke.fx =loadfx("maps/mp_fx/_mp_nuked_nuclear_explosion" );
for(;;;)
{
if(self meleebuttonpressed())
{
napalmSelectorSize =getDvarIntDefault(#"scr_napalmSelectorSize; 3000);
self beginLocationNapalmSelector("map_napalm_Selector", napalmSelectorSize,
"killstreak_napalm" )

Put your code in codetags first.

This part:
Code:
for(;;;)

Should be:
Code:
for(;;)
[Image: trust_me_im_a_programmer_tshirt-p2353589...ka_328.jpg]

He clearly has no idea what is he doing.
Didn't even bother to close { tags.
(10-07-2012, 21:15)OrangePL Wrote: [ -> ][Image: trust_me_im_a_programmer_tshirt-p2353589...ka_328.jpg]

He clearly has no idea what is he doing.
Didn't even bother to close { tags.

Yes I noticed the same, but he probably copy pasted it from a file.