Raised This Month: $ Target: $400
 0% 

Begining help :P


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Waylay
Member
Join Date: Feb 2006
Old 03-15-2006 , 09:22   Begining help :P
Reply With Quote #1

Need some help here..im a very big newbie at this stuffs so i have to ask:

/home/users/amxmodx/tmp3/phpX7F4tR.sma(6) : error 001: expected token: ",", but found ";"
/home/users/amxmodx/tmp3/phpX7F4tR.sma(6) : error 036: empty statement
/home/users/amxmodx/tmp3/phpX7F4tR.sma(6) : error 029: invalid expression, assumed zero
/home/users/amxmodx/tmp3/phpX7F4tR.sma(6) : fatal error 107: too many error messages on one line
Waylay is offline
Send a message via MSN to Waylay
Waylay
Member
Join Date: Feb 2006
Old 03-15-2006 , 09:27  
Reply With Quote #2

From amxmodx complier:
Code:
/home/users/amxmodx/tmp3/phpvEzUJ8.sma(6) : error 001: expected token: ",", but found "-string-" /home/users/amxmodx/tmp3/phpvEzUJ8.sma(6) : warning 215: expression has no effect /home/users/amxmodx/tmp3/phpvEzUJ8.sma(6) : error 001: expected token: ";", but found ")" /home/users/amxmodx/tmp3/phpvEzUJ8.sma(6) : error 029: invalid expression, assumed zero /home/users/amxmodx/tmp3/phpvEzUJ8.sma(6) : fatal error 107: too many error messages on one line Compilation aborted. 4 Errors. Could not locate output file /home/groups/amxmodx/public_html/websc3/phpvEzUJ8.amx (compile failed).
Waylay is offline
Send a message via MSN to Waylay
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-15-2006 , 09:30  
Reply With Quote #3

Post the code ...
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Waylay
Member
Join Date: Feb 2006
Old 03-15-2006 , 09:35  
Reply With Quote #4

imbarissing message and im sure you can se where i got the code..


Code:
 #include <amxmodx>
#include <amxmisc>


public myfunction(id,level,cid) {
if (!cmd_access(id,level,cid,1",") {
 return PLUGIN_HANDLED
}

client_print(0,print_center,"I'm Searching Skillz Admins !")

return PLUGIN_HANDLED
}



public plugin_init() {
register_plugin("message","0.1","waylay")
register_clcmd("amx_message","myfunction",ADMIN_VOTE" : prints I'm Searching 
Skillz Admins !to everyone")

}
(For my skill server on tfc)
Waylay is offline
Send a message via MSN to Waylay
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-15-2006 , 09:50  
Reply With Quote #5

Code:
#include <amxmodx> #include <amxmisc> public myfunction(id,level,cid) {   if (!cmd_access(id,level,cid,1)) { // took out "," and added an )     return PLUGIN_HANDLED   }   client_print(0,print_center,"I'm Searching Skillz Admins !")   return PLUGIN_HANDLED } public plugin_init() {   register_plugin("message","0.1","waylay")   register_clcmd("amx_message","myfunction",ADMIN_VOTE ," : prints I'm Searching Skillz Admins !to everyone")   // ^ added a comma after ADMIN_VOTE }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Waylay
Member
Join Date: Feb 2006
Old 03-15-2006 , 09:53  
Reply With Quote #6

Code:
took out "," and added an )

Infact i had that first..
But it worked to complie..ty
Waylay is offline
Send a message via MSN to Waylay
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 20:27.


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