Checkpoint sizes do not "update"
#4

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
You can try to set the new checkpoint via a timer.

I've experienced problems as well using a clickable textdraw menu by hiding all textdraws and the re-opening them in the same function.
The menu stays closed.
I had to re-open the menu through the use of a timer.

Maybe the same happens with checkpoints, where the game keeps the size of the checkpoint if it's recreated at once.

PHP код:
public SetPlayerCheckpointEx(playeridFloatcpxFloatcpyFloatcpzFloatrange)
{
    
DisablePlayerCheckpoint(playerid);
    
SetTimerEx("Newcheckpoint"250false"iffff"playeridcpxcpycpzrange);
}
forward Newcheckpoint(playeridFloatcpxFloatcpyFloatcpzFloatrange);
public 
Newcheckpoint(playeridFloatcpxFloatcpyFloatcpzFloatrange)
{
    
CPX[playerid] = cpx;
    
CPY[playerid] = cpy;
    
CPZ[playerid] = cpz;
    
SetPlayerCheckpoint(playeridcpxcpycpzrange);
    
CPH[playerid] = 1;
    return 
1;

For 500-600 players I think it would be a bad idea.
Reply


Messages In This Thread
Checkpoint sizes do not "update" - by Donboo - 08.02.2017, 08:19
Re: Checkpoint sizes do not "update" - by Vince - 08.02.2017, 08:56
Re: Checkpoint sizes do not "update" - by PowerPC603 - 08.02.2017, 09:30
Re: Checkpoint sizes do not "update" - by Donboo - 08.02.2017, 11:17
Re: Checkpoint sizes do not "update" - by PowerPC603 - 13.02.2017, 12:56
Re: Checkpoint sizes do not "update" - by Sabur - 13.02.2017, 18:28

Forum Jump:


Users browsing this thread: 1 Guest(s)