01.03.2016, 08:59 
	
	
	
		Remove
And change 
To
It will look like this
	
	
	
	
Код:
SetPlayerCheckpoint(playerid, 1588.8866,715.2956,10.8203, 3.0);
Код:
DisablePlayerCheckpoint(playerid);
Код:
DestroyDynamicCP(checkpointid);
PHP код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vID = GetPlayerVehicleID(playerid);
    if(newstate == PLAYER_STATE_DRIVER)
    {
        if(vID == 403 || 514 || 515)
        {
            if(IsTrailerAttachedToVehicle(vID))
            {
                new trailerid = GetVehicleTrailer(vID);
                new trailermodel = GetVehicleModel(trailerid);
                if(trailermodel == 435 || 450 || 584)
                {
                    new WorkCP = CreateDynamicCP(1588.8866,715.2956,10.8203,3.0,-1,-1,playerid,100.0);
                }
            }
        }
    }
    else if(newstate == PLAYER_STATE_ONFOOT)
    {
        DestroyDynamicCP(WorkCP);
    }
    return 1;
} 


