1 error - 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: 1 error (
/showthread.php?tid=463249)
1 error -
Tuntun - 11.09.2013
Код:
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;
}
Re: 1 error -
BornHuman - 11.09.2013
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();
Re: 1 error -
xganyx - 11.09.2013
put this on the public LoadObjects()
Re: 1 error -
JeaSon - 11.09.2013
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;
}
Re: 1 error -
Tuntun - 11.09.2013
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;
}
Re: 1 error -
[HK]Ryder[AN] - 11.09.2013
Add this wherever you need it
pawn Код:
Create3DTextLabel("Slow Down", 0xFF4646FF, -1966.1132,-245.5919,26.5069, 40.0, 0, 0);