SA-MP Forums Archive
Problem had the wits :-( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem had the wits :-( (/showthread.php?tid=96288)



Problem had the wits :-( - Miny24 - 07.09.2009

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;
}