Raised This Month: $51 Target: $400
 12% 

[ENGINE] Stock function not universal


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 09-14-2004 , 14:39   [ENGINE] Stock function not universal
#1

This works for most mods:
Code:
/* Creates a death message. */ stock make_deathmsg(killer,victim,headshot,weapon[]) {     message_begin(MSG_ALL,get_user_msgid("DeathMsg"),{0,0,0},0)     write_byte( killer )     write_byte( victim )     write_byte( headshot )     write_string( weapon[] )     message_end()     return 1 }

but for dod it should be:
Code:
/* Creates a death message. */ stock make_deathmsg(killer,victim,weaponNUM) {     message_begin(MSG_ALL,get_user_msgid("DeathMsg"),{0,0,0},0)     write_byte( killer )     write_byte( victim )     write_byte( weaponNUM)     message_end()     return 1 }

I'm only posting this because the engine is a "universal" module for all mods, and figured this doesn't work for dod. Please delete this post if you feel it is in the wrong place.
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode