• 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 2,802 08-18-2013, 11:28
Last Post: hillbilly
  why permissions dont work. ? ExoGamer* 4 3,008 07-21-2013, 13:46
Last Post: X-Track
  Bunker Plugin Won't work OBJAY 4 4,067 06-03-2013, 15:48
Last Post: X-Track
  Help prefix doesnt work with shop koro35 2 2,628 05-18-2013, 10:51
Last Post: koro35
  Help Perks do not work (( x1412 6 3,971 04-06-2013, 18:09
Last Post: x1412
  liberation dont work? puistis 7 7,273 02-18-2013, 09:17
Last Post: JariZ
  Weapon dont work?? Erik The Born 3 2,603 02-05-2013, 19:53
Last Post: Yamato
  private match maps won't work with mods! leereef 1 2,306 01-13-2013, 12:01
Last Post: surtek
  Some images do not work with SetShader xplosiff 8 4,410 01-05-2013, 07:19
Last Post: mw2killer
  Help !giveammo Plugin doesnt work [solved] Hallla 3 3,229 12-29-2012, 20:53
Last Post: Hallla

Forum Jump:


Users browsing this thread: 1 Guest(s)