Raised This Month: $12 Target: $400
 3% 

Awps Class Plugin 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
yaseensalem1
Member
Join Date: Jun 2016
Location: palestine
Old 01-28-2017 , 09:49   Awps Class Plugin 1.0
Reply With Quote #1

Awps Class plugin 1.0
[English version]


Description
This is a fun plugin that is designed primarily for AWP mode servers. There are 4 classes, 3 regular and one premium. For premium class requires a flag m. Each class is different and has advantages and disadvantages. Plugin reminiscent of the Cod-Mod but the difference is that the gameplay in the class does not change. means if you play for the first time with a class and if you play 2 months everything will remain the same.

Chat Command
Type"/class" if you want to change your own class
Type"/info" to see info classes



Features

First Class : you will get
-30 HP when you kill
-70 HP when you kill HeadShot
-HE bomb

Second Class : you will get
-Awp Fullclip
-Scout Fullclip
-Deagle Fullclip
-Usp Fullclip
-Smoke Bomb

Third Class : you will get
-150 HP
-170 Armor
-15 HP when you kill
-Flashbang Bomb

Premium Class (For admin only Flag t) : you will get

-30 HP when you kill
-50 HP when you kill HeadShot
-Awp Fullclip
-Scout Fullclip
-Deagle Fullclip
-Usp Fullclip
-200 HP
-200 Armor
-2* Flashbang Bomb
-Smoke Bomb
-He Bomb

Translated from the Bosnian to English by me
Attached Files
File Type: inc colorchat.inc (6.0 KB, 187 views)
File Type: sma Get Plugin or Get Source (awpclass.sma - 725 views - 9.3 KB)

Last edited by yaseensalem1; 01-28-2017 at 13:17.
yaseensalem1 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-28-2017 , 09:57   Re: Awps Class Plugin 1.0
Reply With Quote #2

Why did you steal my cool ☄ symbol?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yaseensalem1
Member
Join Date: Jun 2016
Location: palestine
Old 01-28-2017 , 10:02   Re: Awps Class Plugin 1.0
Reply With Quote #3

because i love you
yaseensalem1 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 01-28-2017 , 12:40   Re: Awps Class Plugin 1.0
Reply With Quote #4

1.Remove the .amxx file because you're not allowed to post them.
2.Attach the colorchat.inc since it's needed for compiling the plugin'
3.Poorly coded.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
yaseensalem1
Member
Join Date: Jun 2016
Location: palestine
Old 01-28-2017 , 13:32   Re: Awps Class Plugin 1.0
Reply With Quote #5

Sorry bro , this is the first plugin amended by me and this first subject
Thank you
yaseensalem1 is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-28-2017 , 17:19   Re: Awps Class Plugin 1.0
Reply With Quote #6

Yeah you totally translated it.
You should give credits to the original author though.
__________________
edon1337 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-29-2017 , 06:58   Re: Awps Class Plugin 1.0
Reply With Quote #7

Just a random question, but how can an alive player not be connected?
__________________
HamletEagle is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 01-29-2017 , 11:39   Re: Awps Class Plugin 1.0
Reply With Quote #8

Only if he is a quantum player from the quantum computer games, where the quantum bits can be 0, 1 or both at the same time.
But speaking about SrcGold games, the player cannot be alive if it is not connect unless some terrible bug on the AMXX.

But I just in case, I checked the code:
Code:
static cell AMX_NATIVE_CALL is_user_connected(AMX *amx, cell *params) /* 1 param */ {     int index = params[1];         if (index < 1 || index > gpGlobals->maxClients)         return 0;         CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);         return (pPlayer->ingame ? 1 : 0); } // Here we see that is user alive is checking if the user is connect the same way the // is user connect is checking. So, if it was broken, both should be. static cell AMX_NATIVE_CALL is_user_alive(AMX *amx, cell *params) /* 1 param */ {     int index = params[1];         if (index < 1 || index > gpGlobals->maxClients)     {         return 0;     }         CPlayer* pPlayer = GET_PLAYER_POINTER_I(index);     if (g_bmod_tfc)     {         edict_t *e = pPlayer->pEdict;         if (e->v.flags & FL_SPECTATOR ||             (!e->v.team || !e->v.playerclass))         {             return 0;         }     }         return ((pPlayer->ingame && pPlayer->IsAlive()) ? 1 : 0); }
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 01-29-2017 at 11:42.
addons_zz is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-20-2018 , 05:47   Re: Awps Class Plugin 1.0
Reply With Quote #9

Code in another language + bad code + useless.
__________________
HamletEagle is offline
Reply


Thread Tools
Display Modes

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 11:35.


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