Jump to content
  • 0

Question

Posted

Am o problema mare toate masinile de pe server sunt blocate cum fac sa le deblochez??si alea de la factiuni

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

4 answers to this question

Recommended Posts

Posted

Da,absolut toate masinile sunt incuiate

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

Posted

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

Posted

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

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.