Race cp's problem
#1

i have this code on leave race cp's.

Код:
public OnPlayerLeaveStreamRCheckpoint(playerid,checkpointid)
{
	if(checkpointid == racecp1)
   	{
   	    if(IsPlayerInVehicle(playerid,cartest))
   	    {
                DestroyStreamedRaceCheckpoint(racecp1);
    		racecp2 = CreateRaceCheckpointToStream(0, -2026.701049, -186.445190, 35.320312, -2062.455322, -122.077514, 35.325839, 3, 250);
		}
    }
    if(checkpointid == racecp2)
   	{
   	    if(IsPlayerInVehicle(playerid,biketest))
   	    {
            DestroyStreamedRaceCheckpoint(racecp2);
            DestroyStreamedObject(des1);
            /*racecp3 = CreateRaceCheckpointToStream(0, -2062.455322, -122.077514, 35.325839, -2082.584960, -180.523376, 35.320312, 3, 250);*/
		}
    }
return 1;
}
i have no errors but when i enter on the race cp's it doent do anything of that. on the first. what im doing wrong. i also tried on the enter race cp but with no luck. pls help and i use this streamer https://sampforum.blast.hk/showthread.php?tid=167349
Reply
#2

Bump pls help
Reply
#3

No one? Pls help
Reply
#4

maybe its the streamer, maybe try adding at the second cp
Код:
else if(checkpointid == racecp2)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)