Raised This Month: $ Target: $400
 0% 

Tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sir-LaggAlot
Member
Join Date: Oct 2005
Location: USA
Old 10-30-2005 , 13:49   Tag mismatch
Reply With Quote #1

How do i get rid of tag mismatch for this plugin?
Code:
public fade_kd() {     new temp[6]     read_argv(1,temp,5)     new id = str_to_num(temp)     if(gHasJumps[id] > 0 || gHasJumps[id] < 0) {         new origVel[3],newVel[3]         get_user_velocity(id,origVel)         new fadeUp = 0         if(vel3DMagnitude(origVel[0],origVel[1],0) < 100) fadeUp = get_cvar_num("fade_jump")         newVel[0] = origVel[0] / 2 * get_cvar_num("fade_speed")         newVel[1] = origVel[0] / 2 * get_cvar_num("fade_speed")         newVel[2] = get_cvar_num("fade_speed") * (100 + fadeUp)         set_user_velocity(id,newVel)         emit_sound(id,4,"shmod/fade_blink.wav",1.0,0.8,0,100)         if(gHasJumps[id] > 0) --gHasJumps[id]     } }
Sir-LaggAlot is offline
Send a message via AIM to Sir-LaggAlot
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 10-30-2005 , 13:51  
Reply With Quote #2

i could check it but i need more code for solving the prob
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Sir-LaggAlot
Member
Join Date: Oct 2005
Location: USA
Old 10-30-2005 , 13:53  
Reply With Quote #3

here
Attached Files
File Type: sma Get Plugin or Get Source (sh_fade.sma - 623 views - 6.0 KB)
Sir-LaggAlot is offline
Send a message via AIM to Sir-LaggAlot
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 10-30-2005 , 13:59  
Reply With Quote #4

can you give me the superheromod include also ?
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Sir-LaggAlot
Member
Join Date: Oct 2005
Location: USA
Old 10-30-2005 , 14:03  
Reply With Quote #5

Right here bro
Attached Files
File Type: inc superheromod.inc (21.4 KB, 84 views)
Sir-LaggAlot is offline
Send a message via AIM to Sir-LaggAlot
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 10-30-2005 , 14:07  
Reply With Quote #6

k i fixed the tag mismatches you had, but it returned me 3 other mismatches

ill take a further look

btw heres the fix, you forgot the "Float:"

Code:
    if(gHasJumps[id] > 0 || gHasJumps[id] < 0) {         new Float:origVel[3]         new Float:newVel[3]         get_user_velocity(id,origVel)
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 10-30-2005 , 14:11  
Reply With Quote #7

You shouldn't be asking for help with an AMX script. Ask at the AMX site.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 10-30-2005 , 14:12  
Reply With Quote #8

no wonder it gives meh errors from the includes
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
Sir-LaggAlot
Member
Join Date: Oct 2005
Location: USA
Old 10-30-2005 , 14:20  
Reply With Quote #9

so... can u still help me?
Sir-LaggAlot is offline
Send a message via AIM to Sir-LaggAlot
SSJ2GOKU
Senior Member
Join Date: Oct 2005
Location: Belgium
Old 10-30-2005 , 14:24  
Reply With Quote #10

sry i cant find the mismatch after i fixed it

something in your if construction that fails (i dont find it )
Code:
if(vel3DMagnitude(origVel[0],origVel[1],0) < 100) fadeUp = get_cvar_num("fade_jump")
SSJ2GOKU is offline
Send a message via MSN to SSJ2GOKU
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 23:43.


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