MGeorge Posted December 24, 2018 Report Share Posted December 24, 2018 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 Quote Link to comment Share on other sites More sharing options...
0 MGeorge Posted December 25, 2018 Author Report Share Posted December 25, 2018 doar la masinile de PD Quote Link to comment Share on other sites More sharing options...
0 ASGOOD Posted December 25, 2018 Report Share Posted December 25, 2018 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; } Quote Link to comment Share on other sites More sharing options...
Question
MGeorge
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
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.