Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Hello Guys
i Have Smail Errors
Quote:
error 017: undefined symbol " CreateDynamicRaceCP"
|
and this line errors
PHP код:
CreateDynamicRaceCP(playerid, Kidnapp[rand][0], Kidnapp[rand][1], Kidnapp[rand][2]);
and the float
PHP код:
new Float:Kidnapp[][3] =
{
{213.8458,1867.2299,13.1406},
{404.7588,2443.3687,16.5000},
{760.2078,381.6906,23.1719},
{-777.8541,1436.0165,13.7891}
};
what is wrong ?
Re: Help [CreateDynamicCP] Errors -
Azula - 24.04.2015
you need #include streamer
Re: Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Quote:
Originally Posted by Azula
you need #include streamer

|
yea im wrong

i done adding
PHP код:
#include <Streamer>
but still there errors
Quote:
F:\New Folder (2)\ffffffff\filterscripts\kidnap2.pwn(34) : warning 202: number of arguments does not match definition
F:\New Folder (2)\ffffffff\filterscripts\kidnap2.pwn(34) : warning 202: number of arguments does not match definition
F:\New Folder (2)\ffffffff\filterscripts\kidnap2.pwn(34) : warning 202: number of arguments does not match definition
F:\New Folder (2)\ffffffff\filterscripts\kidnap2.pwn(34) : warning 202: number of arguments does not match definition
|
Re: Help [CreateDynamicCP] Errors -
Azula - 24.04.2015
CreateDynamicRaceCP(playerid, Kidnapp[rand][0], Kidnapp[rand][1], Kidnapp[rand][2] ,5.0);
Re: Help [CreateDynamicCP] Errors -
Konstantinos - 24.04.2015
pawn Код:
native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Re: Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Quote:
Originally Posted by Azula
CreateDynamicRaceCP(playerid, Kidnapp[rand][0], Kidnapp[rand][1], Kidnapp[rand][2] ,5.0);
|
PHP код:
CreateDynamicRaceCP(playerid, Kidnapp[rand][0], Kidnapp[rand][1], Kidnapp[rand][2] ,5.0,-1,-1,-1);
and its not showing in map!! why not showing ?
Re: Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Quote:
Originally Posted by Konstantinos
pawn Код:
native CreateDynamicRaceCP(type, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
|
PHP код:
CreateDynamicRaceCP(playerid, Kidnapp[rand][0], Kidnapp[rand][1], Kidnapp[rand][2] ,5.0,-1,-1,100);
what i do now man
its not Showing in Map
i dont use interior
Re: Help [CreateDynamicCP] Errors -
Konstantinos - 24.04.2015
The type is not the playerid but a race checkpoint with the finish type, none, arrows, air etc.
You can either create all the checkpoints (store the IDs) and use
TogglePlayerDynamicRaceCP function:
pawn Код:
native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle);
to toggle them
OR
create one race checkpoint and when the player does what you want, disable it.
Re: Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Quote:
Originally Posted by Konstantinos
The type is not the playerid but a race checkpoint with the finish type, none, arrows, air etc.
You can either create all the checkpoints (store the IDs) and use TogglePlayerDynamicRaceCP function:
pawn Код:
native TogglePlayerDynamicRaceCP(playerid, checkpointid, toggle);
to toggle them
OR
create one race checkpoint and when the player does what you want, disable it.
|
sorry i dont know u

Disable race checkpoints when player in it

still need help cuz i dont know u
Re: Help [CreateDynamicCP] Errors -
astanalol - 24.04.2015
Can Somone Help Me Please +Reps!