Raised This Month: $51 Target: $400
 12% 

[ZP] Error compilation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
12darinho
Member
Join Date: Sep 2011
Old 10-08-2011 , 11:25   [ZP] Error compilation
Reply With Quote #1

Hello

I have problem of this plugin "zp_extra_energy_suit"
When i change this line:
new const g_tool_name[] = { "ЭнергоКостюм" } // Item name Energy Suit

to:

new const g_tool_name[] = { "Cryzis Nano-Suit" } // Item name Energy Suit
, I have a copilation error: error 010: invalid function or declaration.

PLEASE HELP!

.sma file
Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_energy_suit1.5.sma - 681 views - 12.2 KB)
12darinho is offline
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 11:31   Re: [ZP] Error compilation
Reply With Quote #2

Line 1 for me
Welcome to the AMX Mod X 1.76-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Invalid function or declaration on line 1

1 Error.
Could not locate output file C:\Users\dink\Desktop\zp_extra_energy_suit1.5 .amx (compile failed).

Also wrong section.
__________________
Block Maker v6.0 []
Point Slay v3.0 []
Contact [ PM ]
enjoi. is offline
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-08-2011 , 11:56   Re: [ZP] Error compilation
Reply With Quote #3

It gives me error that can't read from file zombie plague.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
enjoi.
Veteran Member
Join Date: Mar 2011
Old 10-08-2011 , 11:57   Re: [ZP] Error compilation
Reply With Quote #4

here
Attached Files
File Type: inc zombieplague.inc (12.7 KB, 75 views)
enjoi. is offline
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-08-2011 , 12:00   Re: [ZP] Error compilation
Reply With Quote #5

You made this horrible mistake:
PHP Code:
new const g_tool_name[] =     { "Cryzis Nano-Suit" // Item name Energy Suit 
Change it into this:
PHP Code:
new const g_tool_name[] = { "Cryzis Nano-Suit" // Item name Energy Suit 
It was too many spaces.
Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_energy_suit1.5.sma - 581 views - 12.4 KB)
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-08-2011 , 13:07   Re: [ZP] Error compilation
Reply With Quote #6

There are no errors in the plugin in post #1.

Quote:
Originally Posted by Evaldas.Grigas View Post
You made this horrible mistake:
PHP Code:
new const g_tool_name[] =     { "Cryzis Nano-Suit" // Item name Energy Suit 
Change it into this:
PHP Code:
new const g_tool_name[] = { "Cryzis Nano-Suit" // Item name Energy Suit 
It was too many spaces.
That has absolutely nothing to do with the error anything.
__________________
fysiks is offline
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-08-2011 , 13:59   Re: [ZP] Error compilation
Reply With Quote #7

But it was error when i compiled, and wen I did it like i posted the error dissapeard.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-08-2011 , 14:00   Re: [ZP] Error compilation
Reply With Quote #8

Quote:
Originally Posted by Evaldas.Grigas View Post
But it was error when i compiled, and wen I did it like i posted the error dissapeard.
Well, there was no error to begin with so I don't know what you were seeing.
__________________
fysiks is offline
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 10-08-2011 , 14:01   Re: [ZP] Error compilation
Reply With Quote #9

I don't remember it right now... Maybe your right.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
12darinho
Member
Join Date: Sep 2011
Old 10-08-2011 , 15:11   Re: [ZP] Error compilation
Reply With Quote #10

Ok this error i fix. I delete this:

/*============================================ ====================================
-------------------------------------------
-*- [ZP] Extra Item: Energy Suit (MultiMode) | by Re.Act!ve -*-
-------------------------------------------
~~~~~~~~~~~~~~~
- Description -
~~~~~~~~~~~~~~~
Added for ZP Extra Items - Energy Suit, abilityes: Invisible, Speed, GodMode
~~~~~~~~~~~~~~~
- Credits -
~~~~~~~~~~~~~~~
Re.Act!ve This Creator of zombie class plugin
~~~~~~~~~~~~~~~
- Changelog -
~~~~~~~~~~~~~~~
v. 1.0 - First Plugin Released
v. 1.1 - Fixed bug on speed ability
v. 1.2 - Fixed Bugs of Energy Packs.
v. 1.3 - Full replaced code, & added Regeneration Energy
v. 1.4 - Update. Added new cvar
v. 1.5 - Fixed bugs in godmode. Extra Item for zombies & humans! And No One Round.
============================================= ===================================*/

But i have a next problem and error.
[IMG]http://img692.**************/img692/1193/beztytuuaeb.png[/IMG]
I have xs.inc (version 0.1)
Can fix it?

Last edited by 12darinho; 10-08-2011 at 15:18.
12darinho 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 09:18.


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