IsPlayerInDynamicRaceCP - 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: IsPlayerInDynamicRaceCP (
/showthread.php?tid=411871)
IsPlayerInDynamicRaceCP -
Maraudeur - 30.01.2013
(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
Re: IsPlayerInDynamicRaceCP -
Kyle - 30.01.2013
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
Re: IsPlayerInDynamicRaceCP -
Maraudeur - 30.01.2013
Quote:
Originally Posted by KyleSmith
|
Okay, ty