Raised This Month: $ Target: $400
 0% 

Compiling Problem (Language Edit)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-24-2015 , 17:23   Compiling Problem (Language Edit)
Reply With Quote #1

Originally this Plugin is in Serbian (PlayedRounds) but when I edit it in english and tried to compile it with webcompiler, it sends me this error:

/tmp/textQcGB7L.sma(3) : fatal error 100: cannot read from file: "colorchat"

Original Source:

PHP Code:
new maxrundi
new rounds 0

public plugin_init() 
{
    
register_plugin("playedrounds""1.0""Borara")
    
register_clcmd("say playedrounds""runda")
    
register_event("HLTV""pocetak_runde""a""1=0""2=0")
    
register_event("TextMsg""restart_runde""a""2=#Game_will_restart_in")
}

public 
restart_runde() 
    
rounds 

        
public runda(id)
{
      
rounds++
      
maxrundi=get_cvar_num("mp_maxrounds")
      
ColorChat(0GREEN "Played-Rounds: ^3%d^1/^3%d ^1"rounds,maxrundi

Edited Source:

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

new maxrounds
new rounds 0

public plugin_init() 
{
    
register_plugin("Played Rounds""1.0""Borara")
    
register_clcmd("say playedrounds""Rounds")
    
register_clcmd("say_team playedrounds""Rounds")
    
register_clcmd("say rounds""Rounds")
    
register_clcmd("say_team rounds""Rounds")
    
register_event("HLTV""Start_Round""a""1=0""2=0")
    
register_event("TextMsg""Restart_Round""a""2=#Game_will_restart_in")
}

public 
restart_round() 
    
rounds 

        
public rounds(id)
{
      
rounds++
      
maxrounds=get_cvar_num("mp_maxrounds")
      
ColorChat(0GREEN"Played-Rounds: ^3%d^1/^3%d ^1"Rounds,Max-Rounds

Can any one help me?? to sort out what is the problem??
Alber9091 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-24-2015 , 17:44   Re: Compiling Problem (Language Edit)
Reply With Quote #2

Compile the plugin locally, you will need colorchat.inc.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-24-2015 , 18:36   Re: Compiling Problem (Language Edit)
Reply With Quote #3

Okie Thanks Man, I will try

In Between, I'm not good at compiling locally or we can say super noob in it, can u or anyone, help me little bit??

Last edited by Alber9091; 12-24-2015 at 18:39.
Alber9091 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-24-2015 , 19:08   Re: Compiling Problem (Language Edit)
Reply With Quote #4

Read this
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-25-2015 , 05:31   Re: Compiling Problem (Language Edit)
Reply With Quote #5

Hy man, you did half of my job thank you so, much, thats what I was looking for :-D
Alber9091 is offline
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-25-2015 , 06:07   Re: Compiling Problem (Language Edit)
Reply With Quote #6

Ah, I did, tried to compile it locally (Even Included Colorchat.inc) but still plugin is showing 1 error ..!!
can anyone check out the script??

Last edited by Alber9091; 12-25-2015 at 06:38.
Alber9091 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-25-2015 , 06:32   Re: Compiling Problem (Language Edit)
Reply With Quote #7

Quote:
Originally Posted by Alber9091 View Post
Ah, I did, tried to compile it locally (Even Included Colorchat.inc) but still plugin is showing 1 error ..!!
can anyone check out the script??
Please, keep in mind I we cannot read minds. What is your error?
Copy and paste the console output or take a print screen as here.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
Old 12-25-2015, 06:37
Alber9091
This message has been deleted by Alber9091. Reason: Image link provided, is not redirected to original link via forums.
Alber9091
Veteran Member
Join Date: Jun 2014
Location: Karachi, Pakistan
Old 12-25-2015 , 06:53   Re: Compiling Problem (Language Edit)
Reply With Quote #9

Sorry I was unable to put SS here so i attached it in attachment, its of 18 Kb please have a look on it ..!!

If I tried to attach with Img it shows this ..!!

[IMG]http://************/image/7wxndyzut/[/IMG]

That's the actually issue I'm facing ..!!
Attached Files
File Type: zip New Bitmap Image.zip (18.2 KB, 46 views)

Last edited by Alber9091; 12-25-2015 at 06:54.
Alber9091 is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-25-2015 , 07:56   Re: Compiling Problem (Language Edit)
Reply With Quote #10

Quote:
Originally Posted by Alber9091 View Post
Sorry I was unable to put SS here so i attached it in attachment, its of 18 Kb please have a look on it ..!!

If I tried to attach with Img it shows this ..!!

[IMG]http://************/image/7wxndyzut/[/IMG]

That's the actually issue I'm facing ..!!
This is a windows *****, you have to put your AMXX mod compiler at another place than Program files or configure the files write permissions to your user/administrador at the AMXX folder.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz 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 17:51.


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