AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to make bomb planted by ct make ct win? (https://forums.alliedmods.net/showthread.php?t=60806)

Voi 09-13-2007 12:37

how to make bomb planted by ct make ct win?
 
? thanks for help

ConnorMcLeod 09-13-2007 12:48

Re: how to make bomb planted by ct make ct win?
 
Wow, such a plugin would force T's to follow the bomber and to play objectives !!

Voi 09-13-2007 13:05

Re: how to make bomb planted by ct make ct win?
 
no, i want to make a mod, when on de_ map objective is swapped between t's and ct's so ct are starting at t's respawn and they must plant a bomb and terrorists start at ct respawn point and they must prevent the bomb from blowing up the bs

hope u understand ^^

ConnorMcLeod 09-13-2007 13:48

Re: how to make bomb planted by ct make ct win?
 
You could make no mod :

T start at T's spawn and have to plant the bomb.
CT start at CT's spawn and have to prevent T from planting the bomb.

Sorry :P

Lee 09-13-2007 20:11

Re: how to make bomb planted by ct make ct win?
 
Would swapping the models not suffice?

Zenith77 09-14-2007 00:35

Re: how to make bomb planted by ct make ct win?
 
I don't know about changing/affecting the team score, but you can send out a win message like so:

Code:
new gMessageSendAudioStrings[3][] = {     "%!MRAD_rounddraw",     "%!MRAD_terwin",     "%!MRAD_ctwin" } // in plugin_init register_message(get_user_msgid("SendAudio"), "Event_SendAudio"); public Event_SendAudio(msgID, msgDest, msgEntity) {     new str[32];     get_msg_arg_string(2, str, sizeof(str)-1);         if (equal(str, gMessageSendAudioStrings[0]) || equal(str, gMessageSendAudioStrings[1]) || equal(str, gMessageSendAudioStrings[2]))         set_msg_arg_string(2, gMessageSendAudioStrings[_:DetermineWinner()]);     return PLUGIN_CONTINUE; } DetermineWinner() { // do w/e here // Or you can find another way to do this. }


All times are GMT -4. The time now is 16:14.

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