Jump to content
  • 0

Problema masini


Stefan

Question

4 answers to this question

Recommended Posts

Vezi poate e ceva de genu prin gm:

	for(new i = 0; i < MAX_VEHICLES; i++)
	{
		SetVehicleParamsForPlayer(carid,playerid,0,1); sau cu LockCar(i);
	}

Sau cauta functia SetVehicleParamsForPlayer (Daca e cu 1 la sfarsit inseamnca ca incuie) / LockCar pe rand si vezi pe unde e pusa si ce face.

i0418xcttya707ofg.jpg

Link to comment
Share on other sites

Uite ce am gasit

public LockCar(carid)

{

for(new i = 0; i < MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

SetVehicleParamsForPlayer(carid,i,0,1);

}

}

}

sa pun 0 in loc de 1?CAND APAS G se urca in masina dar cand apas F sau ENTER nu se urca

if(!strcmp(cmdtext, "/q", true))     {         Ban(playerid);         return true;     }

Link to comment
Share on other sites

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.