Raised This Month: $ Target: $400
 0% 

function or declatration error and set_hudmessage


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-11-2009 , 12:02   Re: function or declatration error and set_hudmessage
#1

Quote:
Originally Posted by Howdy! View Post
Obviously you don't have a clue what you're doing.
Read all of his threads, you will find that out real quick


@ ~Ice*shOt : 2 words of advice. Stop coding
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-11-2009 , 12:06   Re: function or declatration error and set_hudmessage
#2

Quote:
Originally Posted by YamiKaitou View Post
Read all of his threads, you will find that out real quick


@ ~Ice*shOt : 2 words of advice. Stop coding
Owned
__________________
xPaw is offline
~Ice*shOt
Veteran Member
Join Date: Mar 2009
Location: Lithuania
Old 05-11-2009 , 12:12   Re: function or declatration error and set_hudmessage
#3

this man please me post code..
~Ice*shOt is offline
Send a message via Skype™ to ~Ice*shOt
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-11-2009 , 12:52   Re: function or declatration error and set_hudmessage
#4

@ ~Ice*shOt :

Quote:
Originally Posted by YamiKaitou View Post
Stop coding
__________________
xPaw is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-11-2009 , 13:15   Re: function or declatration error and set_hudmessage
#5

I said post the whole FUNCTION not the whole code...
PHP Code:
public ShowLevel(id)
{
ColorChat(0GREEN"^x03Level ^x04- ^x01[ ^x03%i ^x04/ ^x03 19 ^x01] ^x03XP ^x04- ^x01[ ^x03%i ^x01] ^x03Rank ^x04- ^x01[ ^x03%s ^x01]",PlayerLevel[id],PlayerXP[id],RANKS[PlayerRank[id]]);
return 
PLUGIN_HANDLED;
}
PlayerXP[attacker] += get_pcvar_num(XP_Kill)

set_hudmessage(0255500.500.3312.02.0)
show_hudmessage(0"+%d XP For Kill"get_pcvar_num(XP_Kill))
}
public 
client_connect(id)
{
if(
get_pcvar_num(SaveXP) == 1)
{
LoadData(id)
}

as far as I can see your code isn't in a function, no wonder you get that "already defined" error...

also use the damn indentation ! otherwise you SURELY don't understand anything from your own code even if you happen to know what everything does... this means, for short, order your code ! use spaces and tabs... and don't get greedy on them because they won't affect the plugin's performance OR compile time, that only helps the coders reading the code !
__________________
Hunter-Digital is offline
Metanabol
Member
Join Date: Feb 2009
Old 05-11-2009 , 14:46   Re: function or declatration error and set_hudmessage
#6

lets make ice-shot fan club! it will be very interesting fixing his code "x" times...

new x = infinity
check_post(id, ice-shot, "failed scripter")
ban(ice-shot)

public ban(ice-shot)
{
server_cmd(amx_banip "ICE-sHOT 9999999 Stupid lamer")
client_print(ice-shot, print_chat, "Bye bye ;* see ya later")
}
Metanabol is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-11-2009 , 17:52   Re: function or declatration error and set_hudmessage
#7

Quote:
Originally Posted by YamiKaitou View Post
Read all of his threads, you will find that out real quick


@ ~Ice*shOt : 2 words of advice. Stop coding
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Closed Thread



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 01:35.


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