spam bug
#9

If you use a streamer that streams checkpoints they can conflict. Also if you dont use a streamer try incognitos streamer you can create checkpoints for all players in one fuction and it has a checkpointid parameter meaning you can get rid of that timer with the two loops. And just do the following.

pawn Код:
new CPID[MAX_HOUSES];//global
prefferably inside the funtion that ceates your houses.

pawn Код:
CPID[houseid] = CreateDynamicCP(h2Info[m][iconx], h2Info[m][icony], h2Info[m][iconz]2.0,0,0,-1,50.0);
public OnPlayerEnterDynamicCP(playerid, checkpointid)
pawn Код:
for(new h; h<=MAX_HOUSES;h++)
{
    if(checkpointid == CPID[h])
    {
        //do stuff here eg, show stats
    }
}
Its alot simpler than the code you have and also more efficient. Note CreateDynamicCP is for all players if the second to last parameter is -1. But it will only stream 1 a time per player
Reply


Messages In This Thread
spam bug - by vection - 22.08.2010, 10:48
Re: spam bug - by iggy1 - 22.08.2010, 12:37
Re: spam bug - by vection - 22.08.2010, 13:57
Re: spam bug - by iggy1 - 22.08.2010, 14:09
Re: spam bug - by vection - 22.08.2010, 15:27
Re: spam bug - by vection - 22.08.2010, 16:02
Re: spam bug - by iggy1 - 22.08.2010, 17:22
Re: spam bug - by vection - 22.08.2010, 18:13
Re: spam bug - by iggy1 - 22.08.2010, 18:36
Re: spam bug - by vection - 22.08.2010, 19:05

Forum Jump:


Users browsing this thread: 2 Guest(s)