Error: Tag Mismatch
#1

pawn Код:
new carPos[4],
               v = GetPlayerVehicleID(playerid);
       
(558) GetVehiclePos(v, carPos[0], carPos[1], carPos[2]);
(559) GetVehicleZAngle(v, carPos[3]);
pawn Код:
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(558) : warning 213: tag mismatch
gamemode.pwn(559) : warning 213: tag mismatch
I could use some help, thanks.
Reply
#2

Your syntax is wrong, read these..
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID
https://sampwiki.blast.hk/wiki/Function:GetVehiclePos
https://sampwiki.blast.hk/wiki/GetVehicleZAngle
Reply
#3

pawn Код:
new Float:carPos[4],
Reply
#4

Tag mismatch warnings never affect anything AFAIK. I would ignore it, as long as your script works properly.

EDIT: Here the syntax is wrong, so as others said, read the function on the wiki.
Reply
#5

Quote:
Originally Posted by [KSF]WARLOCK
Посмотреть сообщение
Tag mismatch warnings never affect anything AFAIK. I would ignore it, as long as your script works properly.

EDIT: Here the syntax is wrong, so as others said, read the function on the wiki.
yes they can affect things!
having any warnings is not good.
it needs to have a float tag to ensure the proper operators are used when doing math with the values
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)