SA-MP Forums Archive
.Inc [Need Help] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: .Inc [Need Help] (/showthread.php?tid=89794)



.Inc [Need Help] - [DD]FlameOFDeath - 04.08.2009

I know this is abit dumb post but
i added a include
#include <Double-O-Objects>

but then i get the following

Код:
warning 203: symbol is never used: "DOO_OnGameModeInit"
warning 203: symbol is never used: "DOO_OnPlayerConnect"
warning 203: symbol is never used: "DOO_OnPlayerDisconnect"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

3 Warnings.
what do i add..


Re: .Inc [Need Help] - saiberfun - 04.08.2009

u don't need to it's just telling u that u didn't use this functions it's no problem
if u still want to get rid of it use
ontop of ur script
#pragma unused DOO_OnGameModeInit

n so on
but i dunno about the DOO script so it could be better if u add these functions to ur script but then u gotta ask in the script of
DOO


Re: .Inc [Need Help] - Correlli - 04.08.2009

Add DOO_OnGameModeInit to OnGameModeInit callback, DOO_OnPlayerConnect to OnPlayerConnect callback and DOO_OnPlayerDisconnect to OnPlayerDisconnect callback if you want Double-O-Objects streamer to work correctly.


Re: .Inc [Need Help] - [DD]FlameOFDeath - 04.08.2009

Quote:
Originally Posted by saiberfun
u don't need to it's just telling u that u didn't use this functions it's no problem
if u still want to get rid of it use
ontop of ur script
#pragma unused DOO_OnGameModeInit

n so on
but i dunno about the DOO script so it could be better if u add these functions to ur script but then u gotta ask in the script of
DOO
mhm confusing but worth a try O.o


Re: .Inc [Need Help] - [DD]FlameOFDeath - 04.08.2009

Quote:
Originally Posted by Don Correlli
Add DOO_OnGameModeInit to OnGameModeInit callback, DOO_OnPlayerConnect to OnPlayerConnect callback and DOO_OnPlayerDisconnect to OnPlayerDisconnect callback if you want Double-O-Objects streamer to work correctly.
i know this is dubble post but u posted before i posted to the first post i got

but how esactly do i add it..?

do i just type
Add DOO_OnGameModeInit (onto the on gamemode init)
And so on..?