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

Problema masini factiune


Question

Posted

Salut, am o problema la masinile de factiune, cand dai f chiar daca esti givil iti lasa animatia de intrare, chiar intra pentru cateva clip si dupa ceva timp primeste slap, cum pot sa fac sa fie mai rapid slap-ul gen

 

2 answers to this question

Recommended Posts

  • 0
Posted
public OnPlayerStateChange(playerid, newstate, oldstate) {
	if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
      	new tmpcar = GetPlayerVehicleID(playerid);
    	if(Copcar2(tmpcar) && !IsACop(playerid))// In publicul acesta trb sa ai id la toate masinile de politie, e easy de facut. Si in al doilea verfica daca e sau nu politist.
        RemovePlayerFromVehicle(playerid);
        SendClientMessage(playerid,COLOR_WHITE, "{999999}You are not a cop.");
        TogglePlayerControllable(playerid, 1);
    }
	return 1;
}

 

maxresdefault.jpg

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.