IsPlayerInDynamicRaceCP
#1

(3200) : warning 213: tag mismatch
(3200) : warning 202: number of arguments does not match definition
(3200) : warning 202: number of arguments does not match definition
Line 3200:
pawn Код:
if (IsPlayerInDynamicRaceCP(playerid, PizzaCheckPoint1))
PizzaCheckPoint1
pawn Код:
#define PizzaCheckPoint1 -2641.2256,263.5154,3.9238
Reply
#2

Quote:
Originally Posted by Maraudeur
Посмотреть сообщение
(3200) : warning 213: tag mismatch
(3200) : warning 202: number of arguments does not match definition
(3200) : warning 202: number of arguments does not match definition
Line 3200:
pawn Код:
if (IsPlayerInDynamicRaceCP(playerid, PizzaCheckPoint1))
PizzaCheckPoint1
pawn Код:
#define PizzaCheckPoint1 -2641.2256,263.5154,3.9238
You need to create the race checkpoint and use PizzaCheckPoint1 = CreateDynamicRaceCP(co-ordinates);.

Use a new variable instead of define.

See this for the params needed: https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#3

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
You need to create the race checkpoint and use PizzaCheckPoint1 = CreateDynamicRaceCP(co-ordinates);.

Use a new variable instead of define.

See this for the params needed: https://sampforum.blast.hk/showthread.php?tid=102865
Okay, ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)