Can someone explain to me how to get server side scripts to work?

Posted by RisildarGames
I can't seem to...I've tried every way I can think of :(

Replies (5)

Last message on 11 May 2016

Size43 (Administrator) on 28 Apr 2016, 20:48:17
You should be able to get a basic gms_chat working in the login script. Do you see an error or something like that?

But consider this: server-sided scripts have been deprecated. I'm no longer supporting them, and they will most likely be replaced by something else in the future.
RisildarGames (Topicstarter) on 28 Apr 2016, 21:29:55
Also I tried:

gms_chat(string(Argument1)+" has connected.", c_black )

No error, just never happens.
Size43 (Administrator) on 11 May 2016, 10:24:09
argument1 should be without the capital letter, like how it works in GM scripts.

I believe I've got a simple gms_chat script set up on one of the examples, but I don't know if it still works. Like I said, I'm no longer supporting it. It's a very buggy feature that never really worked as intended.

For now, you should do this client-sided.
RisildarGames (Topicstarter) on 28 Apr 2016, 21:10:33
Hmm...I'm trying to make it so, say, every 15 minutes or 30 minutes a certain boss spawns. How else would I approach doing this if I can't use server-sided scripts? Thanks!
Size43 (Administrator) on 11 May 2016, 10:20:48
You could have one client spawn the instance. By using gms_time() you can determine how many you need to spawn if no one has been in the room.