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

[SURF] apenas m3 e deagle SURF Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Gabrielx
Junior Member
Join Date: Jul 2015
Old 07-05-2015 , 21:36   [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #1

Olá galera do brasil venho trazendo plugin Apenas m3 e deagle, muita gente procura mais só acha o By Lence =], esse não tem como bugar outras armas, ainda você pode editar a mensagem quando ele pega arma restrita.

m3.amxx addons/amxmodx/plugins/
m3.sma addons/amxmodx/scripting/
m3.txt addons/data/lang/


[bp]
SURF_DROP = Coloque aqui a mensagem
Attached Files
File Type: sma Get Plugin or Get Source (m3.sma - 925 views - 1.3 KB)
File Type: txt m3.txt (53 Bytes, 295 views)

Last edited by Gabrielx; 07-05-2015 at 21:40.
Gabrielx is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 07-05-2015 , 22:26   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #2

English only here
__________________

Mordekay is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 07-05-2015 , 22:29   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #3

lol what a plugin, Only English.
  • You should check is_user_alive(index) instead of is_user_connected(index)
  • U should force the client to drop the weapon with engclient_cmd
  • Don't do a check of weapons like this, just make a loop.

i Don't know if CurWeapon will be the best way for this, you need to learn more things before releasing your plugins, and the idea of this, make no since.
Freezo Begin is offline
vedant007
Member
Join Date: Jul 2013
Old 07-06-2015 , 01:56   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #4

English Please !
vedant007 is offline
Send a message via Skype™ to vedant007
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 07-06-2015 , 04:02   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #5

Think this is his first plugin
tousif is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-06-2015 , 06:15   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #6

Quote:
Originally Posted by tousif View Post
Think this is his first plugin
If it is the first plugin, he should not post it here.

Quote:
Don't do a check of weapons like this, just make a loop.
Not really, he can just make a bitsum and check if a specific bit is present inside it or not.

PHP Code:
new WeaponsToNotDrop = (<< CSW_M3) | (<< CSW_KNIFE) | (<< CSW_DEAGLE) | (<< CSW_USP) |  (<< CSW_GLOCK18) |  (<< CSW_HEGRENADE) | (<< CSW_FLASHBANG) | (<< CSW_SMOKEGRENADE)

//later
if(~WeaponsToNotDrop & (<< iWeapon))
{

__________________

Last edited by HamletEagle; 07-06-2015 at 06:21.
HamletEagle is offline
Gabrielx
Junior Member
Join Date: Jul 2015
Old 07-06-2015 , 21:57   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #7

This is a plugin for surf, DROP all weapons (ONLY M3 and DEAGLE), Many people in Brazil looking for this plugin.
Gabrielx is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 07-09-2015 , 00:43   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #8

English Only
Read Rules please !
__________________
Moroccan and proud
Linkin Hisoka is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 07-09-2015 , 07:42   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #9

Bro, CHange the description and title to enligh else modreator will trash it
tousif is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-01-2015 , 15:01   Re: [SURF] apenas m3 e deagle SURF Plugin
Reply With Quote #10

Your description must be in english and the language file should contain english aswell. The plugin seems useless(just droping some weapons). As a suggestion, instead of CurWeapon() you could hook Ham_AddPlayerItem as pre and supercede if the weapon check is met(use cs_get_weapon_id to get weapon index(CSW_) from entity index).

Unapproved, this section really need some cleaning.
__________________
HamletEagle 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 15:34.


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