What? How.. o.O - 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)
+--- Thread: What? How.. o.O (
/showthread.php?tid=606175)
What? How.. o.O -
Micko123 - 30.04.2016
Код:
SetPlayerRaceCheckpoint(i, 0, RaceInfo[raceid][checkpointx][1], RaceInfo[raceid][checkpointy][1], RaceInfo[raceid][checkpointz][1], RaceInfo[raceid][checkpointx][2], RaceInfo[raceid][checkpointy][2], RaceInfo[raceid][checkpointz][2], 6);
Код:
warning 213: tag mismatch
warning 213: tag mismatch
Why it does says this??
Re: What? How.. o.O -
zPain - 30.04.2016
Did you declare
checkpointx, checkpointy and
checkpointz as floats?
PHP код:
enum something {
Float:checkpointx,
Float:checkpointy,
Float:checkpointz
}
Re: What? How.. o.O -
Micko123 - 30.04.2016
Код:
enum rInfo
{
Float:checkpointx[MAX_CHECKPOINTS],
Float:checkpointy[MAX_CHECKPOINTS],
FLOAT:checkpointz[MAX_CHECKPOINTS],
}
Here it is.
instad of
Float:checkpointz[MAX_CHECKPOINTS],
I wrote this
FLOAT:checkpointz[MAX_CHECKPOINTS],
THANK YOU!!!!!!