1 error
#1

Код:
E:\My server\filterscripts\road.pwn(23) : warning 235: public function lacks forward declaration (symbol "LoadObjects")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
i made this:

Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Road map work Loaded!");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
{
	return 1;
}



public LoadObjects()
{
    MY OBJECTS CODES! BUT I CAN'T POST IT

	return 1;
}
Reply
#2

What are you trying to do, are you trying to add custom mapping?

Nevertheless, put this under the LoadObjects or as a global variable. Your choice

Код:
forward LoadObjects();
Reply
#3

put this on the public LoadObjects()

pawn Код:
forward LoadObjects();
Reply
#4

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Road map work Loaded!");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}


forward LoadObjects();
public LoadObjects()
{
    MY OBJECTS CODES! BUT I CAN'T POST IT

    return 1;
}
Reply
#5

Okey thanks... i need a Create3DTextLabel at:

-1966.1132,-245.5919,26.5069

Text: Slow down!

Color red..

so please make it in my this script:

pawn Код:
#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Road map work Loaded!");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}


forward LoadObjects();
public LoadObjects()
{
    MY OBJECTS CODES! BUT I CAN'T POST IT

    return 1;
}
Reply
#6

Add this wherever you need it
pawn Код:
Create3DTextLabel("Slow Down", 0xFF4646FF, -1966.1132,-245.5919,26.5069, 40.0, 0, 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)