AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   [Virus_Mode] (https://forums.alliedmods.net/showthread.php?t=298600)

HoussamBenmouna 06-17-2017 11:51

[Virus_Mode]
 
1 Attachment(s)
Hello Guys, This is My First plugin, I Create. Hope You Like It!


Plugin Informations:

When the eight seconds starts, any player becomes infected with the virus and when he becomes infected he must hit another person in order to go away from the latter, so if the injured player is not injured after 12 seconds will start to deteriorate and the red glow, which I forgot to mention will goes and comes back...

:grrr::oops: Thanks.

Relaxing 06-17-2017 11:55

Re: [Virus_Mode]
 
Any snapshots or something else?

HoussamBenmouna 06-17-2017 12:03

Re: [Virus_Mode]
 
Quote:

Originally Posted by Relaxing (Post 2529374)
Any snapshots or something else?

No, I do not have photos of him so you better try it yourself

Natsheh 06-17-2017 17:18

Re: [Virus_Mode]
 
Are you neo ? If not give a credits.

PawnerBros 06-17-2017 18:12

Re: [Virus_Mode]
 
I do not know who would use it. Because they have more and better plugins that do the same.
But the code is pretty good. (Well it's not the best, but it's okay for the beginner)

HoussamBenmouna 06-17-2017 18:18

Re: [Virus_Mode]
 
Quote:

Originally Posted by Natsheh (Post 2529439)
Are you neo ? If not give a credits.

Yes I am Neo* and I do not have any credits from anyone.

HoussamBenmouna 06-17-2017 18:25

Re: [Virus_Mode]
 
So the plugin is approved or not ************************************

Natsheh 06-17-2017 20:58

Re: [Virus_Mode]
 
It depends on an approver to see the code and decide.

And add a better description

Btw your color chat stock has a problem

PHP Code:

stock client_printc(const id, const input[], any:...) 
{
        static 
msg[196]; new count 1players[32];
    
msg[0] = '^1';
        
vformat(msg[1], 195input3);
    
msg[192] = '^0';
        
replace_all(msg191"!g""^4");
        
replace_all(msg191"!n""^1");
        
replace_all(msg191"!t""^3");
    
        if(!
idget_players(playerscount);
        else if(
is_user_connected(id)) players[0] = id;
        else return;
        
        static 
g_msgSayText;
        if(!
g_msgSayTextg_msgSayText get_user_msgid("SayText");
        for (new 
0counti++)
        {
             
   
message_begin(MSG_ONE_UNRELIABLEg_msgSayText_players[i]);
                
write_byte(players[i]);
                
write_string(msg);
                
message_end();
         }


Here i optimize it

HoussamBenmouna 06-17-2017 21:23

Re: [Virus_Mode]
 
Thanks, added :D!

yas17sin 06-18-2017 13:10

Re: [Virus_Mode]
 
Nice Code for beginner ;).


All times are GMT -4. The time now is 12:34.

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