Raised This Month: $ Target: $400
 0% 

Traceresult Tag Mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 04-17-2011 , 11:47   Traceresult Tag Mismatch
Reply With Quote #1

PHP Code:
new TraceResult

if(get_tr2(TraceResultTR_pHit) == 0// want it so you spawn above a floor 
Quote:
Warning: Tag mismatch (on the second line)
Native:

PHP Code:
   get_tr2 tr_handleTraceResult:tr_member, {Float,_}:... ) 
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-17-2011 , 11:51   Re: Traceresult Tag Mismatch
Reply With Quote #2

You name your variable "TraceResult", when this label is already used as tag, you have the solution below your eyes.
__________________
Arkshine is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-17-2011 , 12:07   Re: Traceresult Tag Mismatch
Reply With Quote #3

Ok, I just renamed it and it works, thanks. Thought it would give an error like "already defined".
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-17-2011 , 12:09   Re: Traceresult Tag Mismatch
Reply With Quote #4

TraceResult is not a variable, it's a tag. But yes, a specific error for that doesn't exist.
__________________
Arkshine 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 20:12.


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