SA-MP Forums Archive
Help! Warning when adding objects - 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: Help! Warning when adding objects (/showthread.php?tid=119301)



Help! Warning when adding objects - sXecookie - 07.01.2010

Does this matter, or can i just ignore this?

Quote:

C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(210) : warning 213:tag mismatch (280 more times)
C:\Users\Hampus\Desktop\Freeroam\gamemodes\freeroa m.pwn(1059) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


281 Warnings.




Re: Help! Warning when adding objects - BMUK - 07.01.2010

Show us your CreateObject(); lines (just one of them)


Re: Help! Warning when adding objects - sXecookie - 07.01.2010

Quote:

(8841,1386.007,-2444.747,15.881,0.0,0.0,0.0),




Re: Help! Warning when adding objects - Babul - 07.01.2010

did you declare an array like this?
Код:
new Int: PlayerSlotAmmoNew[MAX_PLAYERS][13];
and accessed it like... ?
Код:
PlayerSlotAmmoNew[playerid][CurrentWeaponSlot]=CurrentWeaponAmmo;
if so, maybe the "Int:" in the upper line causes the problem?




Re: Help! Warning when adding objects - sXecookie - 07.01.2010

No I don't have that.
I have other objects that does work.. But this I'm trying to add doesn't work.

I have:
Quote:

{1655, 1994.1520, -2494.0068, 14.4642, 10.3132, 0.0000, 268.0403, 500.0},

and that works, and others also.


Re: Help! Warning when adding objects - Hijolion - 07.01.2010

Privmsg was removed in samp 0.3 and you did something wrong in the tag

you need to re copy it from samp wiki