Raised This Month: $ Target: $400
 0% 

What is an identifier?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XNaRu7oX
Senior Member
Join Date: Jan 2007
Location: LA, CA, USA
Old 05-23-2007 , 20:30   What is an identifier?
Reply With Quote #1

Sorry, I'm a beginner in scripting and I don't know what an identifier is.
Can someone tell me because I get many errors when trying to compile someone's plugin that I edited.
Errors are below.
/home/groups/amxmodx/tmp3/php2g3BhC.sma(35 -- 36) : error 001: expected token: ",", but found "-identifier-"
/home/groups/amxmodx/tmp3/php2g3BhC.sma(36 -- 37) : error 001: expected token: ",", but found "-identifier-"
/home/groups/amxmodx/tmp3/php2g3BhC.sma(37 -- 3 : error 001: expected token: ",", but found "-identifier-"
/home/groups/amxmodx/tmp3/php2g3BhC.sma(37 -- 3 : fatal error 107: too many error messages on one line
XNaRu7oX is offline
scrtxxcaz
Senior Member
Join Date: Feb 2007
Location: a place u cant find
Old 05-23-2007 , 23:50   Re: What is an identifier?
Reply With Quote #2

post your enitre code
__________________
Please leave your name when giving me any karma

Counter Strike Freeze Tag
Status: Testing.... (bugs)

Revised Registration
Status: In Progress
scrtxxcaz is offline
Send a message via AIM to scrtxxcaz
Old 05-24-2007, 18:37
XNaRu7oX
This message has been deleted by XNaRu7oX. Reason: nvm
regalis
Veteran Member
Join Date: Jan 2007
Location: F*cking Germany
Old 05-24-2007 , 18:43   Re: What is an identifier?
Reply With Quote #3

Next time post your better in [C O D E] or [S M A L L] tags ;)
Your problem is here:
Code:
p_enable = register_cvar("sm_enable", "1");
p_kills_noob = register_cvar("sm_kills_noob", "35");
p_kills_average = register_cvar("sm_kills_average", "80"
p_kills_skilled = register_cvar("sm_kills_skilled", "160"
p_kills_pro = register_cvar("sm_kills_pro", "325"
p_kills_expert = register_cvar("sm_kills_expert", "500"
p_kills_killdemon = register_cvar("sm_kills_kill_demon", "1000"

You have forgotten the closing brackets ");" on some lines...
The indentifier is the next variable which is seen by the compiler....but he don't want to see a variable. he would like to see an ending bracket ;)

greetz regalis
__________________
regalis 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 10:39.


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