GM Errors - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GM Errors (
/showthread.php?tid=529042)
GM Errors -
jasonsmith - 31.07.2014
Anyone know how to fix these?
Код:
DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(1) : error 010: invalid function or declaration
\DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(20) : error 031: unknown directive
DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(20 -- 21) : warning 215: expression has no effect
DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(21) : error 001: expected token: ";", but found "}"
DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(19) : error 001: expected token: "}", but found "-label-"
DayZ Standalone\gamemodes\dayzstandalone - Copy.pwn(19 -- 31) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Re: GM Errors -
BroZeus - 31.07.2014
1. Why post image when you can post text... just copy and paste the text from line 1 - 40
2. it is #include not # Include
3. it is #define not # Define
4. for the comments the "//" symbol is used not "/ /"
Re: GM Errors -
jasonsmith - 31.07.2014
Re: GM Errors -
BroZeus - 31.07.2014
use this
pawn Код:
/*
/ / ================================================ / /
/ / *** DayZ standalone v.1.00 - Self Made Script by [UKF] Xneo / /
/ / *** Copyright by [UKF] Xneo | | All rights by [UKF] Xneo / /
/ / *** Germany - Sachsen | Only for GTA: SA DayZ standalone server / /
/ / *** This script is some thinks of German based because i `m from Germany! / /
/ / *** / /
/ / *** INFORMATION: [UKF] Xneo = Madd_Johnson! / /
/ / ================================================ / /
*/
#include <a_samp>
#include <streamer>
#include <script_fix>
#include <ocmd>
#include <Dini>
#include <md5>
AntiDeAMX ()
{
new a [] [] = {
"Unarmed (Fist)",
"Brass K"
};
#pragma unused a
}
#undef MAX_PLAYERS
#define MAX_PLAYERS 200
#define Weapon Names 46
/*
/ / ==== [Defines / / Enums / / Forwards / / ...] ====
/ / Colours / Colors:
*/
#define FBAN 0x00AFFFFF
#define FGrau 0xB4B4B4FF
/*/ / Enums & + News (ENUMS + NEWS):*/
enum SpielerInfoEnum
{
Float: LootPosX,
Float: LootPosY,
Float: LootPosZ,
Float: LootItem,
LootID,
SelectedItem
LootLoc,
Backpack timer,
Backpack,
Plevel,
pSpawn,
FIRST LEARN THE BASICS OF PAWN
Re: GM Errors -
jasonsmith - 31.07.2014
ALright thanks still new to some
Re: GM Errors -
jasonsmith - 31.07.2014
Just one more small error
Код:
fatal error 100: cannot read from file: "script_fix"
the line I got
Код:
#include <script_fix>
I have the include within side of the folder
Re: GM Errors -
jasonsmith - 31.07.2014
Still need help..
Bump-
Re: GM Errors -
Clad - 31.07.2014
Try to rename it, Make sure you have it in Pawno/Includes
Re: GM Errors -
jasonsmith - 31.07.2014
Quote:
Originally Posted by Clad
Try to rename it, Make sure you have it in Pawno/Includes
|
Tried that didn't work an I have the file in the correct folder
Re: GM Errors -
jasonsmith - 31.07.2014
bump