SphereCommunity
Newbie Question - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Newbie Question (/Thread-Newbie-Question)



Newbie Question - Catalan_mistral - 02-16-2017 08:18 AM

Ok so I notice on my script items I get the old 'you don't know how to use that' or with the map 'the map is blank'

I am guessing maybe just changing the type, if so which is best to use for these play items?


RE: Newbie Question - xwerswoodx - 02-16-2017 07:49 PM

I don't get it your question, but generally 'you don't know how to use that' this string comes from @DClick and if you want to block this message, just add RETURN 1 at the end of @DClick section.


RE: Newbie Question - Catalan_mistral - 02-16-2017 11:43 PM

LoL thats exactly the answer I wanted xwerswoodx Smile I just couldn't remember how to stop the messages Thank you.


RE: Newbie Question - Coruja - 02-17-2017 04:03 AM

if this message is located on sphere_msgs.scp, you can just set the message to a empty string
Code:
MSG_SOMETHING "Something here"
to
Code:
MSG_SOMETHING ""

just don't forget that you can't do this on messages that have dynamic strings like %d, %s, etc, because setting these messages to empty string will result in console error when sphere try to fill these dynamic variables. But on static messages without dynamic values, you can set a empty string without problems