UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Script a message/text to appear on map startup

broken avatar :(
Created 8 years ago
by Big-Beautiful
0 Members and 1 Guest are viewing this topic.
1,691 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 25 May 2015
Last active: 5 years ago
Posts
31
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
i hate mei
Signature
Must be kept sacred, heavenly eggs
Mustn’t be desecrated with egg bootlegs
×
Big-Beautiful's Groups
Big-Beautiful's Contact & Social Linksfortress-of-branitude
Hello ug of x, how would I make a function that would show a message in game when you start the map? Thx for any help
Marked as best answer by Big-Beautiful 8 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 19 December 2015
Last active: 2 years ago
Posts
18
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
Noobforlunch's Groups
Noobforlunch's Contact & Social Links
Code Snippet
Plaintext
function on_player_spawned()
{
    wait 2;
    self IPrintLnBold("Welcome to Zombies Recreation!");
}
This code will work for you. You would also need to put:
Code Snippet
Plaintext
	callback::on_spawned( &on_player_spawned );
into your main function of your mapname.gsc
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 25 May 2015
Last active: 5 years ago
Posts
31
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
i hate mei
×
Big-Beautiful's Groups
Big-Beautiful's Contact & Social Linksfortress-of-branitude
thank you so muncho

 
Loading ...