Raised This Month: $ Target: $400
 0% 

Changing GameMode ID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
datyin
Junior Member
Join Date: Nov 2014
Location: Macedonia, Bitola
Old 11-27-2014 , 03:43   Changing GameMode ID
Reply With Quote #1

Hm.. i've searched a bit here but i failed to find anything.

I'm wondering how can i change GameMode value?

Code:
gmsgGameMode = REG_USER_MSG("GameMode", 1);
Code:
void CHalfLifeMultiplay::UpdateGameMode(CBasePlayer *pPlayer)
{
    MESSAGE_BEGIN(MSG_ONE, gmsgGameMode, NULL, pPlayer->edict());
    WRITE_BYTE(1);
    MESSAGE_END();
}
Can anyone give me example how to set GameMode value to 2 or something using AMX plugin?

Last edited by datyin; 11-27-2014 at 03:44.
datyin is offline
Reply



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 17:45.


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