Sign in to follow this  
Followers 0
Paul

[SOLVED] Calling Baguettes

4 posts in this topic

Hey Guys

Does anyone know how to call a baguette instead of a toast?
When toasts were introduced there was a post blog post about how to call them, but there wasn't with these ones.

Thanks

Paul

Share this post


Link to post
Share on other sites

These can be invoked from the server or the client using the following respective code:

///////////////////////////////
// Server side usage
///////////////////////////////

// Broadcasting a messsage
["baguetteRequest", [format["Server is going to restart in %1 min!",_time]]] call ExileServer_system_network_send_broadcast;

// Sending to a certain client
[_sessionID, "baguetteRequest", ["Welcome to Exile, Inmate!"]] call ExileServer_system_network_send_to;

///////////////////////////////
// Client side usage
///////////////////////////////

// You MUST spawn the function, calls DO NOT WORK
["Welcome! God mode enabled."] spawn ExileClient_gui_baguette_show;

 

2 people like this

Share this post


Link to post
Share on other sites
Advertisement
Advertisement
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.