CreateDynamicCP problem -
Dusan01 - 10.03.2014
Hi guys, i have problem with dynamic cp
Код:
pCP[playerid] = CreateDynamicCP(1846.8781,-1721.7274,5202.5859,3.0,GetPlayerVirtualWorld(playerid),-1,playerid);
here is code and i still cant see my CP i just see him on minimap(radar) :S and when i change vw CP disappear from radar and i again set my vw back and i still see cp on radar but not red circle :S
Re: CreateDynamicCP problem -
Dusan01 - 11.03.2014
BUMP
Re : CreateDynamicCP problem -
Clad - 11.03.2014
Can you show us your OnPlayerEnterDynamicCP.
Re: Re : CreateDynamicCP problem -
Dusan01 - 11.03.2014
Quote:
Originally Posted by Clad
Can you show us your OnPlayerEnterDynamicCP.
|
Here u go:
Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == pCP[playerid])
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 1846.8781,-1721.7274,5202.5859))
{
if(regisj[playerid] == 1)
{
LoopingAnim(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
SetTimerEx("AnimFixer", 100, false, "i", playerid);
TextDrawShowForPlayer(playerid, Registracija0[playerid]);
TextDrawShowForPlayer(playerid,Registracija1[playerid]);
new stringreg[64];
format(stringreg, sizeof(stringreg), " [Pretresanje]");
TextDrawSetString(Registracija2[playerid], stringreg);
TextDrawShowForPlayer(playerid,Registracija2[playerid]);
SetTimerEx("Regis1", 5000, false, "i", playerid);
TogglePlayerControllable(playerid, 0);
h_DisablePlayerCheckpoint(playerid);
DestroyDynamicCP(pCP[playerid]);
// print("radi 1");
}
}
}
}
Re: CreateDynamicCP problem -
Dusan01 - 12.03.2014
BUMP
Re : CreateDynamicCP problem -
Clad - 12.03.2014
CreateDynamicRaceCP(type, Float

, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float

ize, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Here the wiki
Re: Re : CreateDynamicCP problem -
Dusan01 - 12.03.2014
Quote:
Originally Posted by Clad
CreateDynamicRaceCP(type, Float  , Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float  ize, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Here the wiki
|
Phhh, my DynamicCP works, but it wount show red circle ingame i just see it on radar(mini map)....
Re: CreateDynamicCP problem -
Matess - 12.03.2014
Crazy coords.. where is it?
1846.8781,-1721.7274,
5202.5859
Re: CreateDynamicCP problem -
Dusan01 - 12.03.2014
Quote:
Originally Posted by Matess
Crazy coords.. where is it?
1846.8781,-1721.7274,5202.5859
|
that is int in air, int of jail
Re: CreateDynamicCP problem -
azzerking - 12.03.2014
Make sure you have set the Stream Distance and Float Distance right, else they will show funny or not show at all.