Raised This Month: $ Target: $400
 0% 

errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yamin
BANNED
Join Date: Jan 2012
Location: Sharjah
Old 05-06-2012 , 12:26   errors
Reply With Quote #1

can anyone fix this?

tmp/text1qVcWs.sma(14) : error 029: invalid expression, assumed zero
/tmp/text1qVcWs.sma(14) : error 035: argument type mismatch (argument 4)
/tmp/text1qVcWs.sma(24) : error 010: invalid function or declaration
/tmp/text1qVcWs.sma(25) : error 010: invalid function or declaration
/tmp/text1qVcWs.sma(26) : warning 218: old style prototypes used with optional semicolumns
/tmp/text1qVcWs.sma(2 : error 021: symbol already defined: "get_user_name"
/tmp/text1qVcWs.sma(32) : error 010: invalid function or declaration
/tmp/text1qVcWs.sma(33) : warning 218: old style prototypes used with optional semicolumns
/tmp/text1qVcWs.sma(34) : error 021: symbol already defined: "name"
/tmp/text1qVcWs.sma(3 : warning 203: symbol is never used: "name"

7 Errors.
Could not locate output file /home/groups/amxmodx/public_html/websc3/text1qVcWs.amx (compile failed).
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>

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

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_concmd("amx_solo""admin_solo"ADMIN_BAN,);
    
register_clcmd("usp","HandleCmd")
}
public 
admin_solo(id,level,cid
{
    
console_print(id"You have activated Solo Gunner Mode");
}

public_HandleCmd
{
    if (
get_user_flags(id) & ADMIN_BAN
    give_item
(id"usp");
    new 
name [32]
    
get_user_name(id,name,31)
client_print(0,print_chat,"*** Solo Gunner is activated by Admin %s.
}
{
    if (get_user_flags(id) & ADMIN_LEVEL_H)
    give_item(id, "
usp");
    new name [32]
    get_user_name(id,name,31)
client_print(0,print_chat,"
*** Solo Gunner is activated by Golden Player %s

yamin is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-06-2012 , 12:30   Re: errors
Reply With Quote #2

I have a question too: Can anyone bann people who ask questions like this in the scripting-help section?
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 05-06-2012 , 15:37   Re: errors
Reply With Quote #3

Quote:
Originally Posted by mottzi View Post
I have a question too: Can anyone bann people who ask questions like this in the scripting-help section?
Are you serious or what?, this is the right place for that.
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
simple_user
Member
Join Date: Apr 2012
Location: Latvia, the cube
Old 05-06-2012 , 16:19   Re: errors
Reply With Quote #4

Quote:
Originally Posted by ProIcons View Post
Are you serious or what?, this is the right place for that.
Affirmative. Ofcourse it depends on what is the defenition of help here. I think if you post a valid code, you just solve a problem technically, but you're not helping the person to be a better coder. You know what I mean.
__________________
You learn with time. Just gotta push yourself.
simple_user is offline
Send a message via Skype™ to simple_user
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-06-2012 , 17:35   Re: errors
Reply With Quote #5

Quote:
Originally Posted by ProIcons View Post
Are you serious or what?, this is the right place for that.
I am and no, this isnt the right place for a request. Requests can be postet here.
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
Artifact
Veteran Member
Join Date: Jul 2010
Old 05-06-2012 , 13:28   Re: errors
Reply With Quote #6

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>

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

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_concmd("amx_solo""admin_solo"ADMIN_BAN);
    
register_clcmd("usp","HandleCmd")
}
public 
admin_solo(id,level,cid
{
    
    
console_print(id"You have activated Solo Gunner Mode");
}

public 
HandleCmd(id)
{
    if (
get_user_flags(id) & ADMIN_BAN)
    {
        
give_item(id"weapon_usp");
        new 
name [32]
        
get_user_name(id,name,31)
        
client_print(0,print_chat,"*** Solo Gunner is activated by Admin %s.",name)
    }
    if (
get_user_flags(id) & ADMIN_LEVEL_H)
    {
        
give_item(id"weapon_usp");
        new 
name [32]
        
get_user_name(id,name,31)
        
client_print(0,print_chat,"*** Solo Gunner is activated by Golden Player %s",name)
    }
    return 
PLUGIN_HANDLED;
    

__________________

Last edited by Artifact; 05-06-2012 at 13:35.
Artifact is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 05-06-2012 , 13:32   Re: errors
Reply With Quote #7

give_item(id, "usp")

->

give_item(id, "weapon_usp")
__________________
Quote:
#define true ((rand() % 2)? true: false) //Happy debugging suckers
mottzi is offline
Send a message via MSN to mottzi
Artifact
Veteran Member
Join Date: Jul 2010
Old 05-06-2012 , 13:34   Re: errors
Reply With Quote #8

Quote:
Originally Posted by mottzi View Post
give_item(id, "usp")

->

give_item(id, "weapon_usp")
edited ;) tnx
__________________
Artifact is offline
yamin
BANNED
Join Date: Jan 2012
Location: Sharjah
Old 05-06-2012 , 13:47   Re: errors
Reply With Quote #9

Quote:
Originally Posted by Artifact View Post
edited ;) tnx
thanks
@motzzi i am still don't know properly sorry

Last edited by yamin; 05-06-2012 at 13:55.
yamin is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 05-06-2012 , 17:44   Re: errors
Reply With Quote #10

is not a request, It has allready a code, and needs fix.
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons 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 00:26.


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