warning 213: tag mismatch FCNPC_GoTo
#1

Код:
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"?
Reply
#2

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);
Reply
#3

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
Reply
#4

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


Forum Jump:


Users browsing this thread: 1 Guest(s)