CreateDynamicCP problem
#1

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

BUMP
Reply
#3

Can you show us your OnPlayerEnterDynamicCP.
Reply
#4

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");
     }
     }
    }
}
Reply
#5

BUMP
Reply
#6

CreateDynamicRaceCP(type, Float, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Floatize, worldid = -1, interiorid = -1, playerid = -1, Float:distance = 100.0);
Here the wiki
Reply
#7

Quote:
Originally Posted by Clad
Посмотреть сообщение
CreateDynamicRaceCP(type, Float, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Floatize, 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)....
Reply
#8

Crazy coords.. where is it?

1846.8781,-1721.7274,5202.5859
Reply
#9

Quote:
Originally Posted by Matess
Посмотреть сообщение
Crazy coords.. where is it?

1846.8781,-1721.7274,5202.5859
that is int in air, int of jail
Reply
#10

Make sure you have set the Stream Distance and Float Distance right, else they will show funny or not show at all.
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)