Error 010
CloudFlare Ray ID: 2ef6fddeb4f83792
codes... Initially the SP complier told that were 15 errors, but searching line by line, now i have only 1 strange error: RollPlayingGameMode.sp<1> : error 010: invalid function or declaration // // 1 Error. I suppose the wrong line is the first (<1>) but this mean that the error is in: #include <---------- ?? #include #define Version "1.0.7" #define TEAM_SURVIVORS 2 #define TEAM_INFECTED 3 #define ZOMBIECLASS_TANK 8 #define CVAR_FLAGS FCVAR_PLUGIN|FCVAR_SPONLY|FCVAR_NOTIFY|FCVAR_ DONTRECORD Can you help me? Leonardo04-02-2011, 06:27few invalid first characters? or you're trying to compile file with extra headers paul9204-02-2011, 06:51Oh my god, I can't understand what you mean... What are extra headers? Thank you Leonardo http://forum.sa-mp.com/showthread.php?t=305040 for your reply, but i never programmed and i can't understand some languages, if you want, i can post the code... (How can i upload it?) Leonardo04-02-2011, 06:55Advanced Reply -> Attach Files -> Manage Attachments -> Upload extra header is a... errr... when you're trying to compile, for example, UTF-8 formatted file with BOM (http://en.wikipedia.org/wiki/UTF-8#Byte_order_mark) paul9204-02-2011, 07:00UTF-8 formatted file??? Holy **** O.o Well, to compile i only move my .sp file to https://forums.alliedmods.net/archive/index.php/t-154036.html the "compiler.exe", don't know if this can help, sorry :( But i'm uploading the code, so you can see better what's wrong... :) Leonardo04-02-2011, 07:03well yeah there's a UTF-8 with BOM just save in UTF-8 without BOM which editor you're using? paul9204-02-2011, 07:07I'm using the Notepad... How can i do what you told? XD Can you tell me step by step, please? Thank you very much Leonardo, this is very important to me! (My first Plugin's edit) :) Leonardo04-02-2011, 07:10open with notepad Menu -> File -> Save as... -> Encoding -> Unicode paul9204-02-2011, 07:13Ehm, i've done what you told, but now the compiler found 26 errors, all because the "Input line is too long"??? What i have to do? Leonardo04-02-2011, 07:17oh Jesus so only one way save with ASCII ANSI encoding paul9204-02-2011, 07:19ASCII encoding? I can save only with ANSI, Unicode, Unicode Big Endian, UTF-8. Do you mean ANSI? Leonardo04-02-2011, 07:22maybe )) but then you'll lost all comments (non-english comments) paul9204-02-2011, 07:36LOL, i can't understand those comments XD Ok, i will try! (Will the english comments stay anyway?) EDIT: Finally i can compile it! :D But, where is the ".smx" file? I searched in the "compiled" folder, but there isn't... O.o What's wrong? Re-Edit: Ok, it was out by the "compiled" folder, Thank y
från GoogleLogga inDolda fältSök efter grupper eller meddelanden