Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Problema intalnita (descriere):Am adaugat jobul ,,taietor de lemne '' si am 4 erori .
Ero(area / rile) / warning-(ul / urile):

(2254) : error 012: invalid function call, not a valid address
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : warning 215: expression has no effect
(2254) : error 001: expected token: ";", but found ")"
(2254) : error 029: invalid expression, assumed zero
(2254) : fatal error 107: too many error messages on one line
Liniile de cod / sursa / script-ul(obligatoriu):am pus
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da

P.S am nevoie de includeul a_objects stie cineva de unde sa il iau ?

6 answers to this question

Recommended Posts

  • 0
Posted

   AttachPlayerObjectToVehicle(playerid, vObject[playerid], masina[playerid], -0.06195, -4.93747, 0.73480, 0.00000, 0.00000, 5.00000);

  • 0
Posted

   AttachPlayerObjectToVehicle(playerid, vObject[playerid], masina[playerid], -0.06195, -4.93747, 0.73480, 0.00000, 0.00000, 5.00000);

de obicei aceste erori cu ; sunt cu câteva linii deasupra, postează cu 3-4 linii mai sus.

  • 0
Posted
		else if(JobStep[playerid] == 10 && IsPlayerInRangeOfPoint(playerid, 1, -115.7137, -1496.6042, 3.1475))
	    {
	        DisablePlayerCheckpoint(playerid);
	        TogglePlayerControllable(playerid, 0);
            timecut[playerid] = SetTimerEx("TimeCut",5000,false,"i", playerid);
		}
		else if(JobStep[playerid] == 11 && IsPlayerInRangeOfPoint(playerid, 2, -103.7549, -1546.4635, 2.6107))
	    {
            DisablePlayerCheckpoint(playerid);
     		if(IsPlayerAttachedObjectSlotUsed(playerid,1)) RemovePlayerAttachedObject(playerid,1);
          	vObject[playerid] = CreatePlayerObject(playerid, 18609, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 0.00000, 300.0);
			AttachPlayerObjectToVehicle(playerid, vObject[playerid], masina[playerid], -0.06195, -4.93747, 0.73480, 0.00000, 0.00000, 5.00000);
    		SendClientMessage(playerid, 0xFFFF00C8, "Pentru a temrina munca urca-te in masina si du-te la depozit pentru a lasa lemnele.");
    		SetPlayerCheckpoint(playerid, 993.7037, -2177.4839, 13.0938, 5);
    		JobStep[playerid] = 12;
		}
	}
	return 1;
}

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.