ЎЎїїTag mismatch??!!
#1

Why appears this when I compile the gamemode?
Код:
warning 213: tag mismatch
Line of the warning:
pawn Код:
new sirena = CreateObject(18646, 0, 0, 0, 0, 0, 0, 100.0);
PD: If I put it into a filterscript the warning doesn't appear. I'm using SA-MP 0.3c and an edit of The Godfather gamemode.


I'm sorry my bad English.
Reply
#2

CreateObject expects floats for some arguments, but if you only place 0 there, it will be recognized as integer then.
Use 0.0, to mark it as a float

CreateObject(18646, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 100.0);
Reply
#3

It's working, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)