But I don't know where to put it. I have watched every scripting tutorial I could find and I have a bit of C++ knowledge and still can't figure it out. Any help and advice on how to figure things like this out by myself in the future is appreciated!
Make a function and then call that function in your .gsc file
Or you can go into your mapname.gsc and add this to the main function.
Code Snippet
Plaintext
callback::on_spawned(&on_player_spawned);
Then make another function like this:
Code Snippet
Plaintext
function on_player_spawned() { // You might need to add wait(2) or wait(3) here so it waits for the black screen to go away. self IPrintLnBold("sometext"); }
Or you can go into your mapname.gsc and add this to the main function.
Code Snippet
Plaintext
callback::on_spawned(&on_player_spawned);
Then make another function like this:
Code Snippet
Plaintext
function on_player_spawned() { // You might need to add wait(2) or wait(3) here so it waits for the black screen to go away. self IPrintLnBold("sometext"); }