[ GameMode ] VC:MP Blank Server ( 13rd Feb, 2019 )
Poll

Deserves xmlconf04rel plugin to be updated ?

Yes
No

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 946
[ GameMode ] Re: VC:MP Blank Server ( 12nd Feb, 2019 )
« Reply #90,  »Last edited
U
UP
UPD
UPDA
UPDAWUT ? WEN ??

Changelog
  • Plugins and executives were updated.
  • CLIENT SIDE:
    Added client-side script as an example, which creates a sprite and a label (server's name)
    (you can find it in store/script/)
  • SERVER SIDE:
    Added the missing events: onPlayerUpdate, onClientScriptData, onCheckpointEntered, onCheckpointExited
  • Implemented: [Snippet] Sending data to client/server
  • Since updated version of SQLite module for Squirrel is using different functions' name, I placed both plugins inside.
  • In server.cfg I've changed the order of the plugins, so the squirrel one will be loaded the last.
    (so all settings done in server.conf will be taken first)
  • Removed [0.4] tag from server name. They are all 0.4 anyway. ::)





If you have questions related to client-side scripting, post in the proper board please.
But if you find bugs in this script, post here. :)

PS: me sorry for being this late

Xmair

  • Wiki Contributor
  • Posts: 879
VU Full Member | VCCNR Developer | KTB Developer | EAD Ex-Scripter

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 946
[ GameMode ] Re: VC:MP Blank Server ( 13rd Feb, 2019 )
« Reply #93,  »
Quote from Xmair on February 22nd, 06:47 PM
The new update has 'devprint' function missing in function SendDataToClient.
Holy sh*t .... really sorry for this; this ... wasn't supposed to happen.
Need to apologize to the VC:MP Team now, for disclosing this dev function by mistake. :(
I failed as a VC:MP Beta Tester.
Yes, there are some untouchable functions which only the staff can access...

(click to show/hide)
Kidding guys :D
devprint( string ) function is just sending the text to both server console and game console.
Here it is:
Code: [Select]
function devprint( text )
{
    Message( "[#bbbbbb]" + text );
    print( "!* " + text );
}

OR replace devprint with print, and that's it