Raised This Month: $7 Target: $400
 1% 

Nade Semiclip v2.7


Post New Thread Reply   
 
Thread Tools Display Modes
yRemootz
Junior Member
Join Date: Aug 2021
Location: Sao Paulo, Brazil
Old 11-08-2021 , 14:18   Re: Nade Semiclip v2.5
Reply With Quote #51

Quote:
Originally Posted by HamletEagle View Post
It's absolutely NOT fine. It doesn't matter that you are using it only once. Quick, without googling anything tell me what this line does:

PHP Code:
get_pdata_cbase(id3735
You can't, even tho I used it only once. What in the world is 373? What is this supposed to do? You don't know unless you just so happen to know that offset 373 is m_pActiveItem. Now, look at the following line:

PHP Code:
get_pdata_cbase(idm_pActiveItemXO_PLAYER
You know instantly what it does. A number doesn't say anything, but a name does.

Not having magic values in your plugin is a requirement for approval, for a very good reason. Doing otherwise is asking for unmaintainable, unreadable and crappy code.
Use 1.8.2, it's fine, in fact it's even recommended if it can be reasonably done as it is still the latest stable release. Just name things properly, it's not hard.
Good to know about that. I need study more for understand what you're saying.
__________________
Yes I stole it.
Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
yRemootz is offline
JusTGo
Veteran Member
Join Date: Mar 2013
Old 02-18-2023 , 10:09   Re: Nade Semiclip v2.6
Reply With Quote #52

Updated:

Code:
-V2.7 
* Fixed a bug with cvars conflicting.
* Optimized and refactored the plugin.
__________________
JusTGo is offline
Sunny C.
Junior Member
Join Date: Jan 2022
Old 06-28-2023 , 09:45   Re: Nade Semiclip v2.7
Reply With Quote #53

I Cant compile
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// nade_semiclip.sma
//
// D:\SteamLibrary\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\nade_semiclip.sma(3) : fatal error 100: cannot read from file: "reapi"
//
// Compilation aborted.
// 1 Error.
// Could not locate output file D:\SteamLibrary\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\compiled\nade_semiclip.amx (compile failed).
//
// Compilation Time: 0,09 sec
// ----------------------------------------

Press enter to exit ...
Sunny C. is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 06-28-2023 , 10:16   Re: Nade Semiclip v2.7
Reply With Quote #54

Quote:
Originally Posted by Sunny C. View Post
I Cant compile
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// nade_semiclip.sma
//
// D:\SteamLibrary\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\nade_semiclip.sma(3) : fatal error 100: cannot read from file: "reapi"
//
// Compilation aborted.
// 1 Error.
// Could not locate output file D:\SteamLibrary\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\compiled\nade_semiclip.amx (compile failed).
//
// Compilation Time: 0,09 sec
// ----------------------------------------

Press enter to exit ...
You need reapi include
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Sunny C.
Junior Member
Join Date: Jan 2022
Old 07-01-2023 , 07:27   Re: Nade Semiclip v2.7
Reply With Quote #55

Works. Thx
Sunny C. 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 05:08.


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