SA-MP Forums Archive
warning 213: tag mismatch FCNPC_GoTo - 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: warning 213: tag mismatch FCNPC_GoTo (/showthread.php?tid=614840)



warning 213: tag mismatch FCNPC_GoTo - ax1 - 13.08.2016

Код:
FCNPC_GoTo(0,1.0,1.0,1.0,MOVE_TYPE_SPRINT,0.5,1,0.0,true);
native :
Код:
FCNPC_GoTo(npcid, Float:x, Float:y, Float:z, type = MOVE_TYPE_AUTO, Float:speed = 0.5, bool:UseMapAndreas = false, Float:radius = 0.0, bool:setangle = true);
Why do I get "warning 213: tag mismatch"?


Re: warning 213: tag mismatch FCNPC_GoTo - Konstantinos - 13.08.2016

Set "UseMapAndreas" to true instead of 1.

Since they have default values, you may as well use something like this:
pawn Код:
FCNPC_GoTo(0, 1.0, 1.0, 1.0, MOVE_TYPE_SPRINT, .UseMapAndreas = true);



Re: warning 213: tag mismatch FCNPC_GoTo - ax1 - 13.08.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Set "UseMapAndreas" to true instead of 1.

Since they have default values, you may as well use something like this:
pawn Код:
FCNPC_GoTo(0, 1.0, 1.0, 1.0, MOVE_TYPE_SPRINT, .UseMapAndreas = true);
Thanks son


Re: warning 213: tag mismatch FCNPC_GoTo - SteSte - 09.07.2017

Quote:
Originally Posted by ax1
Посмотреть сообщение
Thanks son
RIP lol