AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   C4man with fun v1.2 (https://forums.alliedmods.net/showthread.php?t=90788)

biscuit628 04-22-2009 13:42

C4man with fun v1.2
 
11 Attachment(s)
C4man with fun 1.2

Description:
Hello,this is my first plugin
when player switch their weapon to c4
he will become invisible ,move slowly,,no footstep sound,and 3rdview

Command:
say /shadow
  • (trun shadow on/off)
Cvars:

amx_C4man <0/1>
  • (Plugin on/off,Default:1)
amx_C4man3rd <0/1>
  • (3rdview,Default:1)
amx_C4mannofs <0/1>
  • (nofootstep,Default:1)
amx_C4manvisible <Num>
  • (how visible?Default:15)(1= Totaly Invis,255= Totaly Vis)
amx_C4mansp <Num>
  • (C4man movespeed,Default:150)
Changelog:
1.2 - Add Commands /shadow to turn shadow on/off,updata lang file
1.1 - make lang.txt,check event is_user_connect

ExeCute 04-22-2009 15:16

Re: C4man with fun
 
turn .rar into a .zip?

And how much are u invisible

Nextra 04-22-2009 15:20

Re: C4man with fun
 
Hehe, nice idea. However you could change a few things in your plugin:

- You have a typo in the sentence (unvisible > invisible) and I believe it is more common to write AMXX all uppercase.
- You could do ML for that line.
- Do you have to check is_user_connected/alive in that event? The message won't fire for not connected players?
- .rar -> .zip

tuty 04-22-2009 15:26

Re: C4man with fun
 
1 Attachment(s)
....

biscuit628 04-22-2009 16:05

Re: C4man with fun
 
Quote:

Originally Posted by Nextra (Post 811772)
Hehe, nice idea. However you could change a few things in your plugin:

- You have a typo in the sentence (unvisible > invisible) and I believe it is more common to write AMXX all uppercase.
- You could do ML for that line.
- Do you have to check is_user_connected/alive in that event? The message won't fire for not connected players?
- .rar -> .zip

updata1.1, lang and fix my poor english:oops:

YKH =] 04-23-2009 10:20

Re: C4man with fun
 
Good job

BOYSplayCS 04-23-2009 10:24

Re: C4man with fun
 
A default speed of 150 is very slow, maybe bump it up to 220-250.

150 is very, very slow.

Otherwise, this is a good plugin.

biscuit628 04-23-2009 10:39

Re: C4man with fun
 
Quote:

Originally Posted by BOYSplayCS (Post 812268)
A default speed of 150 is very slow, maybe bump it up to 220-250.

150 is very, very slow.

Otherwise, this is a good plugin.

Thank,
too fast isn't fair to CTs:mrgreen:

xPaw 04-23-2009 10:45

Re: C4man with fun
 
PHP Code:

if(!is_user_alive(id) || !is_user_connected(id)

// ->

if(!is_user_alive(id

Additional check is not needed here :)

LANG_PLAYER -> id

You do not need to attach the model, its default in CS, so all have it. (i mean models.zip not precache)

Quote:

[en]
C4holding = [AMXX] Be careful!! %s is holding the C4, he is invisible now!

[ru] by xPaw
C4holding = [AMXX] Bud' ostorozhen!! U %s v rukah bomba, on teper' nevidimka!

[de] by cRanNk
C4holding = [AMXX] Vorsicht! %s hat die Bombe, er ist nun Unsichtbar!

[es] by Cr34t!v3
C4holding = [AMXX] Cuidado!! %s a cogido la c4, el es ahora invisible!

biscuit628 04-23-2009 11:41

Re: C4man with fun
 
Quote:

Originally Posted by xPaw (Post 812290)
....

You do not need to attach the model, its default in CS, so all have it. (i mean models.zip not precache)

Thank,
updata lang file and remove is_user_connect


All times are GMT -4. The time now is 23:15.

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