Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help this wont work bad synax
#1
Big Grin 
Code:
#include common_scripts\utility;
#include maps\mp\_airsupport;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


init()
{



player thread Onplayerspawn();
self thread dodvars();



}

}

onplayerconnect();

self endon("dissconected");
self endon("death");
for(;;)
selfClientDvar("developer_script 1")
selfClientDvar("player_sustainammo 1")
}
  
  }



Onplayerspawn()
{
   for(;;)
          self waittill("spawned_player" );
        selfClientDvar("give,weapon ak47_mp")
        }

          }
          


dodvars()
{

    setDvar("player_sustainammo", 1);
      setDvar("give,weapon ak47_mp")
    setDvar("sv_cheats", 1);
    self EnableInvulnerability();
}

plus any one have bad synax finder program
Reply

#2
Added code tags to mainpost.
Reply

#3
You has
Code:
for(;;)
codeshit
}
But it should
Code:
for(;;)
{
codesiht

}



EDIT: Don't use scriptsyntax checkers, they're lame.
Example: I just have one error in my code, but it will tell more ( like 20-30 )
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
its a modding problem, not mod tools request....moved
Reply

#5
That code has so much errors. Better start again from scratch and read some tutorials.
[Image: azuw.jpg]
Reply

#6
(10-20-2012, 13:57)zxz0O0 Wrote: That code has so much errors. Better start again from scratch and read some tutorials.

Maybe he is trolling?
I never saw so stupid code xD
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#7
he probably started creating mods, dont be too harsh
Reply

#8
Agreed, The fact that you're a bit more advanced doesn't give you the right to call him stupid
Reply

#9
(10-20-2012, 16:01)JariZ Wrote: Agreed, The fact that you're a bit more advanced doesn't give you the right to call him stupid

Woh, that answer.
Did i say: "he is stupid" ? hmm
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#10
(10-20-2012, 16:21)JayDi Wrote:
(10-20-2012, 16:01)JariZ Wrote: Agreed, The fact that you're a bit more advanced doesn't give you the right to call him stupid

Woh, that answer.
Did i say: "he is stupid" ? hmm

Maybe YOU are trolling?
"I never saw so stupid code xD"
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Permissions DOESNT work Hallla 2 3,047 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,257 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,491 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,879 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 4,382 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,767 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,838 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,493 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 5,070 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,546 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.