[HELP] Pawno won't create AMX
#1

Pawno won't create an AMX after compiling.

C:\Users\Michael\Desktop\nigga please\vx-rp.pwn(17421) : error 021: symbol already defined: "CreateDynamicObject"
Pawn compiler 3.2.3664 Copyright 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Theres something wrong in line 17421
Reply
#3

Show us line 17421, and we'll fix it.
Reply
#4

CreateDynamicObject(1526,1950.6147500,-2034.2783200,13.9939000,0.0000000,0.0000000,180.00 00000); //
Reply
#5

You've probably inserted this line out of a public function (callback).
Reply
#6

Try to remove the this line
Код:
CreateDynamicObject(1526,1950.6147500,-2034.2783200,13.9939000,0.0000000,0.0000000,180.00 00000); //
then compile it
Reply
#7

Quote:
Originally Posted by FiReMaNStone
Посмотреть сообщение
Try to remove the this line
Код:
CreateDynamicObject(1526,1950.6147500,-2034.2783200,13.9939000,0.0000000,0.0000000,180.00 00000); //
then compile it
If he removes that line, and the other lines stay then there will be something empty in the mappings, don't be such an ignorant.
Reply
#8

I mean it's only a small single object, I'll try it when our scripter gets on, but I've used Vortex in the past as well as my friend and we've never run into this problem, we removed the line last night and then got errors for the "removingbuilding for playerid" objects but I went through a copy of the script and found a fix for that. Even after removing the line last night we get zero errors, but they refuse to still show up IG.
Reply
#9

Ehrmmm, I think you'll need the Latest Version of Streamer Include and Plugin;

Try Updating 'em, then let me know if this works or not;

First of all,

Streamer Plugin & Include:
[Plugin] Streamer Plugin
****** Project Download Page for Streamer Plugin
Pastebin for Streamer Include

Check your "PAWNO > includes" Directory, and Look for "streamer.inc",

and Check your "Plugins" Directory, and Look for "streamer.dll" or "streamer.so",

If you don't have "streamer.inc" and "streamer.dll" or "streamer.so",

(NOTE: Make sure you open the same PAWNO that contains all your stuff)

Download it here,

[Plugin] Streamer Plugin
****** Project Download Page for Streamer Plugin
Pastebin for Streamer Include

Installation:
  1. Copy the Plugin File plugins.
  2. Open server.cfg and add the plugin's name on plugins line.
and/or
  1. Copy the whole include codes in Notepad, Wordpad, etc..
  2. Save it as "include's name.inc", and Save it in "PAWNO > include".
  3. Open your Gamemode Script using PAWNO Compiler.
  4. Add "#include <include's name>" at the Top of your Gamemode Script.
  5. Compile it, Save it, and Finish.
and/or
  1. Download the Include File, Copy it.
  2. Paste it in "PAWNO > include".
  3. Open your Gamemode Script using PAWNO Compiler.
  4. Add "#include <include's name>" at the Top of your Gamemode Script.
  5. Compile it, Save it, and Finish.

EDIT :-

Ehrmmm, I think you missed a Closing Bracket(s) "}" (It could be that you missed a Closing Bracket(s) "}"), If it doesn't crash PAWNO, it will give a Random Errors same like that.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)