08.07.2011, 22:19
C:\Documents and Settings\Dean\Desktop\Other servers\gamemodes\NitrosFreeroam.pwn(6061) : warning 235: public function lacks forward declaration (symbol "PirateShipScoreUpdate")
The Code
----------------------------------------------------------
(6061)public PirateShipScoreUpdate()
{
tmps1 = dini_Get(FILE_SETTINGS, "pirateship");
if (strval(tmps1) == 0) return 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
// TO-DO moneyscanner update
PayPlayerInArea(i, 1995.5, 1518.0, 2006.0, 1569.0, 100);
}
return 1;
----------------------------------------------------------
Why is it getting the error?
The Code
----------------------------------------------------------
(6061)public PirateShipScoreUpdate()
{
tmps1 = dini_Get(FILE_SETTINGS, "pirateship");
if (strval(tmps1) == 0) return 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
// TO-DO moneyscanner update
PayPlayerInArea(i, 1995.5, 1518.0, 2006.0, 1569.0, 100);
}
return 1;
----------------------------------------------------------
Why is it getting the error?