Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [Code]Custom PPAGE
[Code]Custom PPAGE [message #449210] Tue, 28 June 2011 14:05 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma:
General (4 Stars)
This function will sent custom a specified message (with specified custom colours) and a specified sound that emulates PPAGE, if the player who is being paged doesn't have scripts 2.9 or later installed, it will fallback to using PPAGE. There's also a convenience function with the same name that takes less arguments and has defaults for the custom sound and message colour.

This is about the same code as the ones used in YaRR & OnOeS and it's based off that so credits go to their author(s).

.cpp:

Toggle Spoiler

.h:
Toggle Spoiler

And then in your start-up code, add the version hook somewhere, e.g.:
void Plugin_Load() {
...
   AddVersionHook(VersionHook); 
...
}


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Sat, 06 August 2011 10:49]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SSGM Plugin]Taunts Fix
Next Topic: [SSGM Plugin]Pre-Processing Damage Hook
Goto Forum:
  


Current Time: Sat May 11 23:24:36 MST 2024

Total time taken to generate the page: 0.00651 seconds