Raised This Month: $ Target: $400
 0% 

tag mismatch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cstrike37
Member
Join Date: Jan 2012
Old 07-10-2012 , 05:22   tag mismatch
Reply With Quote #1

how do i fix this?
Code:
 
/tmp/textB9TCOn.sma(24) : warning 213: tag mismatch
Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 
#include <fun> 
#include <hamsandwich> 

#define PLUGIN "New Plug-In" 
#define VERSION "1.0" 
#define AUTHOR "author" 


public plugin_init() { 
    register_plugin(PLUGIN, VERSION, AUTHOR) 
     
    RegisterHam(Ham_Spawn, "player", "FwdHamPlayerSpawn", 1) 
} 

public FwdHamPlayerSpawn(id) 
{ 
	new model[32]
	cs_get_user_model(id, model, charsmax(model))
	if (equal(model, "sas"))
	set_user_health(id, 120) 
	set_user_maxspeed(id, 400) 
	return HAM_IGNORED  
}
thanks

Last edited by cstrike37; 07-10-2012 at 05:22.
cstrike37 is offline
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 07-10-2012 , 05:25   Re: tag mismatch
Reply With Quote #2

Float: set_user_maxspeed ( index, [ Float:speed = - 1.0 ] )

PHP Code:
    set_user_maxspeed(id400.0
whenever I run into a tag mismatch, I look the function up and make sure all of my variables (if any) are set properly

http://www.amxmodx.org/funcwiki.php?go=func&id=123
__________________
+|- KARMA Respectively


Last edited by HLM; 07-10-2012 at 05:27. Reason: added link
HLM is offline
cstrike37
Member
Join Date: Jan 2012
Old 07-10-2012 , 05:32   Re: tag mismatch
Reply With Quote #3

alright thanks alot
fixed it now
cstrike37 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 15:21.


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