Raised This Month: $ Target: $400
 0% 

Whats Wrong I had Done :(


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-18-2021 , 16:28   Re: Whats Wrong I had Done :(
Reply With Quote #1

Your ||'s should be &&'s since if your attacker is connected, no further conditions are being checked. You want all to be true to advance to the next code block.
__________________
Bugsy is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 10-19-2021 , 01:56   Re: Whats Wrong I had Done :(
Reply With Quote #2

Ohk, Anything wrong in get weapon id as server crash while I am killing some one.

Quote:
Originally Posted by Bugsy View Post
Your ||'s should be &&'s since if your attacker is connected, no further conditions are being checked. You want all to be true to advance to the next code block.
__________________
Let's Help Each Other
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-19-2021 , 03:54   Re: Whats Wrong I had Done :(
Reply With Quote #3

Quote:
Originally Posted by soumyadip77 View Post
Ohk, Anything wrong in get weapon id as server crash while I am killing some one.

Yeah that's because rg_get_weaponbox_id(pevAttacker) is expecting a valid weapon entity index and not a player index.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 11:37.


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