Raised This Month: $ Target: $400
 0% 

[REQUEST] Last CT Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lascage
Member
Join Date: Nov 2010
Old 02-21-2011 , 02:39   [REQUEST] Last CT Plugin
Reply With Quote #1

Hello !

I'm looking for a plugin "LAST CT". When there is only one CT alive, the plugin say this in chat and in center message.

and if possible, make the last ct with a Terrorist skin for make a spy.

So in chat, the plugin say: Warning! The last CT is a spy.

This plugin is for jail mod.

Thx for Your Helping.
lascage is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 02-21-2011 , 18:32   Re: [REQUEST] Last CT Plugin
Reply With Quote #2

lascage,

dalto made a Last Man plugin and you see this on a lot of GG servers. This could be easily adapted to change the messages depending on the team.. for T: do lastrequest, for CT: last CT warning.
http://forums.alliedmods.net/showthread.php?p=509453

Changing the model is do-able too but would depend on if you are running any custom prisoner models on your server. JB servers tend to have more customizations than others. Are you using custom prisoner models or stock?
__________________
databomb is offline
lascage
Member
Join Date: Nov 2010
Old 02-26-2011 , 05:16   Re: [REQUEST] Last CT Plugin
Reply With Quote #3

Thx for Ur Help

Yes i have a custom skin for terrorist team.
lascage is offline
lascage
Member
Join Date: Nov 2010
Old 03-04-2011 , 13:29   Re: [REQUEST] Last CT Plugin
Reply With Quote #4

I don't know how to change the lastman plugin to have a last CT plugin.

Someone can help me plz ?
lascage is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 03-04-2011 , 15:19   Re: [REQUEST] Last CT Plugin
Reply With Quote #5

lascage, attached is a modified version of dalto's Last Man plugin where it will do a center text and chat text saying Last T/CT Standing and the persons name.

I'm not so magnanimous as to do the spy part without any compensation.
Attached Files
File Type: sp Get Plugin or Get Source (lastman-lascage.sp - 332 views - 5.3 KB)
__________________
databomb is offline
lascage
Member
Join Date: Nov 2010
Old 05-21-2011 , 07:17   Re: [REQUEST] Last CT Plugin
Reply With Quote #6

Hello ! I'm Back.

Sorry for my up, but i don't want to create a new post.

I have added a timer for the announce :

Code:
        if(GetConVarBool(g_CvarAnnounce))
        {
            CreateTimer(5.0, TimerAnnounce, client);
        }
How to stop the announce Timer at round_end ?

Thx
lascage is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 05-21-2011 , 09:35   Re: [REQUEST] Last CT Plugin
Reply With Quote #7

I'm not sure what context this is in.. you've lost me. But, in general, you'll need a global Handle type variable to store the return value from CreateTimer and check the status of it when the round ends. There are many examples of this on the forums.
__________________
databomb is offline
lascage
Member
Join Date: Nov 2010
Old 05-21-2011 , 11:44   Re: [REQUEST] Last CT Plugin
Reply With Quote #8

Quote:
Originally Posted by databomb View Post
I'm not sure what context this is in..
I want announce the last CT in repeat. At end of round the announce stop.
lascage 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 12:23.


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