Results 1 to 4 of 4
  1. #1
    Nooblet
    Join Date
    Jul 2011
    Posts
    14
    Points
    41
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    14
    Points
    41

    Default Help with scripts

    Im just a noob needing some help here. Would this work or give me a bad syntax?

    onPlayerConnect()
    {
    for( ;; ){
    if( game["gametype"] == "" ) game["gametype"] = "Roll_The_Dice";{
    level waittill( "connecting", player );

    player thread onPlayerSpawned();
    player thread playerVars();}

    else if( game["gametype"] == "" ) game["gametype"] = "Normal";{
    level waittill( "connecting", player );
    player thread doHealthBar();
    player thread settings();
    player thread Info();
    player thread ModNews();
    player thread instruction();

    player thread onPlayerSpawned();

    if( player isHost() ){
    player.TextStatus = "^5Admin";
    player.NumberStatus = 3;}
    else{
    player.TextStatus = "^2Premuim";
    player.NumberStatus = 2;}

    player thread playerVars();}
    }
    }

    0 Not allowed! Not allowed!
    Last edited by hellegaard1; 12-26-2011 at 06:33 PM.

  2. #2
    Lskip Dont Double Dip
    Join Date
    Nov 2011
    Posts
    550
    Points
    265
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Posts
    550
    Points
    265

    Contact info:

    Youtube Channel: http://www.youtube.com/user/lskip13?feature=mhee

    Default

    idk what are you trying to accomplish?

    0 Not allowed! Not allowed!

  3. #3
    Nooblet
    Join Date
    Jul 2011
    Posts
    14
    Points
    41
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    14
    Points
    41

    Default

    its kinda hard to say. I was thinking of trying to make 2 gsc files kinda rely on each other for a normal match and roll the dice. By doing so hopefully reducing space for more scripts.

    0 Not allowed! Not allowed!

  4. #4
    Lskip Dont Double Dip
    Join Date
    Nov 2011
    Posts
    550
    Points
    265
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Posts
    550
    Points
    265

    Contact info:

    Youtube Channel: http://www.youtube.com/user/lskip13?feature=mhee

    Default

    Quote Originally Posted by hellegaard1 View Post
    its kinda hard to say. I was thinking of trying to make 2 gsc files kinda rely on each other for a normal match and roll the dice. By doing so hopefully reducing space for more scripts.
    oh.. well i dont know what to say then..
    1. Why dont you just test it to see if you get bad syntax
    2. You dont need to do this because there would be plenty of room to do whatever.

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 10:19 PM.
Powered by vBulletin®
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.