Raised This Month: $ Target: $400
 0% 

Validation error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sutar
Senior Member
Join Date: Sep 2010
Old 01-05-2013 , 17:30   Validation error
Reply With Quote #1

Hello everyone, here is the error:
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// a_menu.sma
// D:\Server\...\scripting\a_menu.sma(23) : error 088
: number of arguments does not match definition
//
// 1 Error.
// Could not locate output file D:\Server\...\scripting\compiled\a_menu.amx (compile failed).
//
// Compilation Time: 0,06 sec
// ----------------------------------------

Press enter to exit ...
Here is the code where the error:
HTML Code:
if(strlen(read_argv(1)) > 8)
	{
		client_print(id, print_chat, "* The password can not be longer than 7 characters.")
		client_cmd(id, "messagemode server_password")
		return PLUGIN_HANDLED
	}
I need to do a background check, that one argument was not longer than 7 characters. How to do it?
Sutar is offline
 


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 13:39.


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