About streamer.
#1

Hello Guys, I am using Incognito's Streamer. There is 1 problem, ever time I enter a CP, it gets destroyed. Example:

I create a CP for players to buy stuff. When they enter it, they get the dialog and start purchase but the dialog disappears and the only way for me to get it back is to go out of it's range and back in.
Reply
#2

Are you using any of these in the callback?

pawn Код:
native DestroyDynamicCP(checkpointid);
native TogglePlayerDynamicCP(playerid, checkpointid, toggle);
TogglePlayerDynamicCP will make the checkpoint visible or not.
Reply
#3

I am not. When I need to use them I do. But over all when I enter a checkpoint it gets destroyed.
Reply
#4

Problem fixed. This was the probelm:

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    DisablePlayerCheckpoint(playerid);
    return 1;
}
I :/ I did not think of that. Because I was using streamer i did not remember that.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)