• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help.
#1
I'm trying to make a gametype and I deleted everything out of it except the basics. I'm familiar with GSC coding so I don't understand why this isn't working.
Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

init()
{
    level thread onPlayerConnect();
}

onPlayerConnect()
{
    for(;;)
    {
        level waittill( "connected", player );
        
        player thread onPlayerSpawned();
    }
}

onPlayerSpawned()
{
    self endon("disconnect");

    for(;;)
    {
        self waittill("spawned_player");
    }
}
  Reply
#2
Which errors do you get?
Could you tell me which file you edited/created?
Which file you are using to load this gsc?
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#3
(10-31-2013, 13:10)SailorMoon Wrote: Which errors do you get?
Could you tell me which file you edited/created?
Which file you are using to load this gsc?

Unknown Function
It was _rank.gsc

What file am I using to load the gsc? You mean the program? If so, liberation.
  Reply
#4
(11-01-2013, 00:24)CheeseToast Wrote:
(10-31-2013, 13:10)SailorMoon Wrote: Which errors do you get?
Could you tell me which file you edited/created?
Which file you are using to load this gsc?

Unknown Function
It was _rank.gsc

What file am I using to load the gsc? You mean the program? If so, liberation.
Why modify _rank.gsc?
Make a new .gsc file...
  Reply
#5
[/quote]
Why modify _rank.gsc?
Make a new .gsc file...
[/quote]

All the other mods use _rank.gsc
Why does it matter? Do I need to change it?
  Reply
#6
Why modify _rank.gsc?
Make a new .gsc file...
[/quote]

All the other mods use _rank.gsc
Why does it matter? Do I need to change it?
[/quote]

Because it's not so important. You can use any file instead. I don't know why everyone is using _rank.gsc. ( since mw2, maybe you need to be lazy ass to write methods like 'onplayerspawned', 'connected' etc. )
C++/Obj-C developer. Neko engine wip
Steam: Click
[-] The following 1 user says Thank You to Nekochan for this post:
  • DidUknowiPwn
  Reply
#7
I cant see any error there Undecided
[Image: veovuq.png]
  Reply
#8
(11-02-2013, 01:01)SailorMoon Wrote:
(11-01-2013, 23:39)CheeseToast Wrote:
Why modify _rank.gsc?
Make a new .gsc file...

All the other mods use _rank.gsc
Why does it matter? Do I need to change it?
[/quote]

Because it's not so important. You can use any file instead. I don't know why everyone is using _rank.gsc. ( since mw2, maybe you need to be lazy ass to write methods like 'onplayerspawned', 'connected' etc. )
[/quote]

I tried _gametype.gsc and there was no mods.

(11-02-2013, 01:01)SailorMoon Wrote:
(11-01-2013, 23:39)CheeseToast Wrote:
Why modify _rank.gsc?
Make a new .gsc file...

All the other mods use _rank.gsc
Why does it matter? Do I need to change it?
[/quote]

Because it's not so important. You can use any file instead. I don't know why everyone is using _rank.gsc. ( since mw2, maybe you need to be lazy ass to write methods like 'onplayerspawned', 'connected' etc. )
[/quote]

I tried _gametype.gsc and there was no mods.
  Reply
#9
quoting a text already seems to be challenging you
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)