Hi all I have a small problem and had to know the Board tim .. I have a mode of fire when he climbed into the vehicle fire and he appears checkpoint as they are to create an object and two ... But when you get in the car with the fireman nothing chcekpoint not appear on any other mode it go but I can not now on .. He wrote me the following warning..
Код:
new Fire;
new Fire2;
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(GetVehicleModel(vehicleid) == 407)
{
if(Job[playerid] == J_FIREMAN)
{
Fire = CreateObject(3461,-1981.071,113.234,25.080,0.0,0.0,0.0);
Fire2= CreateObject(3461,-1981.687,112.825,25.080,0.0,0.0,0.0);
AddStreamingCheckpoint(1, 0, -1982.687,112.825,25.080, 2, 1000);
}
}
return 1;
}