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

Solved New teams


Post New Thread Reply   
 
Thread Tools Display Modes
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 06-24-2018 , 09:31   Re: New teams
Reply With Quote #11

Quote:
Originally Posted by Kushfield View Post
Perhaps because the rest of the code is different?
I tried the exact code you posted with a simple command added to change players' teams and it worked just fine for me as well, aside from
Code:
L 06/24/2018 - 01:39:19: [HAMSANDWICH] Wrong data type (data is of type entity)
L 06/24/2018 - 01:39:19: [AMXX] Run time error 10 (plugin "customteamsthing.amxx") (native "SetHamParamFloat") - debug not enabled!
My apologies, I didn't know I only provided part of the code, I edited main post.

Quote:
Originally Posted by HamletEagle View Post
SetHamParamFloat in TraceAttack and Killed are wrong.
What exactly is wrong? In TraceAttack damage is 3rd parameter and its already 3 in SetHamParamFloat, in Ham_Killed I believe it's not really needed.

EDIT: Thanks for the efforts guys, I managed to fix it.
__________________

Last edited by edon1337; 06-24-2018 at 11:00.
edon1337 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-24-2018 , 13:19   Re: New teams
Reply With Quote #12

It's 4 in the code you posted.
__________________

Last edited by HamletEagle; 06-24-2018 at 13:19.
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 07:24.


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