SA-MP Forums Archive
Objects/Pickups - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Archive (https://sampforum.blast.hk/forumdisplay.php?fid=88)
+---- Thread: Objects/Pickups (/showthread.php?tid=123958)



Objects/Pickups - maltheus. - 28.01.2010

Quote:

C:\DOCUME~1\otto\Desktop\Server\GAMEMO~1\FFFFFFF.p wn(1906) : error 010: invalid function or declaration
C:\DOCUME~1\otto\Desktop\Server\GAMEMO~1\FFFFFFF.p wn(1906) : error 021: symbol already defined: "CreateStreamObject"
C:\DOCUME~1\otto\Desktop\Server\GAMEMO~1\FFFFFFF.p wn(1906) : error 010: invalid function or declaration
C:\DOCUME~1\otto\Desktop\Server\GAMEMO~1\FFFFFFF.p wn(1906) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Quote:

....
public OnGameModeInit()
{
cash = CreatePickup(2976, 3, 0.0, 0.0, 9.0);
}
CreateStreamObject(16304, -1323.244019, -204.352386, 18.008726, 0.0000, 0.0000, 0.0000, 500);
CreateStreamObject(18450, -844.679993, 450.461609, 541.154785, 0.0000, 317.0282, 45.0000, 500);
CreateStreamObject(18450, -884.941528, 410.273834, 488.122314, 0.0000, 317.0282, 45.0000, 500);
CreateStreamObject(18450, -925.591064, 369.585541, 434.571167, 0.0000, 317.0282, 45.0000, 500);
...

http://forum.sa-mp.com/index.php?top....msg891319#new
Ako od vas itko zna...


Re: Objects/Pickups - Correlli - 28.01.2010

CreateStreamObject linije moraju biti unutar OnGameModeInit callbacka.