The online racing simulator
Is it possible to use lfs voices via Insim?
A warning sound occurs when our LFS server is shutting down. This voice can be used on the TC server. (Sound when MED-RES call comes) Their INSİM are in java, but maybe lapper has such a feature. Is it possible to use this warning sound with Lapper?
You can send an IS_MTC packet with the Sound property set to number 0-4 for a sound effect:

Quote :SND_SILENT,
SND_MESSAGE,
SND_SYSMESSAGE,
SND_INVALIDKEY,
SND_ERROR

Quote from Flame CZE :You can send an IS_MTC packet with the Sound property set to number 0-4 for a sound effect:

Thanks. So what's the point of using this in any coding?
** Best answer **
according to the changelog of 7.0.6.0

Soundoption for globalmsg(); / privmsg();
NOTE: is compatible with older scripts.

0 = No Sound
1 = Message Sound
2 = SystemMessage Sound
3 = InvalidKey Sound
4 = ERROR Sound
5 = NUM Sound

-Possible options for globalmsg() :
globalmsg("BLAHBLAH");
globalmsg("BLAHBLAH",0);
-Possible options for privmsg() :
privmsg("BLAHBLAH");
privmsg("BLAHBLAH",0);
privmsg($userName,"BLAHBLAH");
privmsg($userName,"BLAHBLAH",0);

Thanks
This thread is closed

FGED GREDG RDFGDR GSFDG