Problem had the wits :-(
#1

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..

Код:
C:\DOCUME~1\*****\Plocha\project.pwn(2109) : warning 204: symbol is assigned a value that is never used: "Fire"
C:\DOCUME~1\*****\Plocha\project.pwn(2110) : warning 204: symbol is assigned a value that is never used: "Fire2"
I had forgotten:

Код:
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)