Jump to content

police sys


yoya99

Recommended Posts

Posted

Is there a system which you kill a player get 1 wanted levwl but the DEFAULT gta sa police is chasing you??? And if you kill another player then you have 2 wanted stars ...?

If therw is no system how to make it???

Posted

MTA does not use AI system of GTA. AI has to be implemented in scripts.

"onPlayerWasted" 
getPlayerWantedLevel 
setPlayerWantedLevel 
  
createPed 
setPedControlState 
setPedCameraRotation 
setPedAimTarget 

Posted

Will what work? When you think about it, you control your ped with control states, aiming and camera rotations, and you can make it do whatever you want, so that does work, doesn't it?

Posted

Can you drive vehicles? How do you drive vehicles? By setting control states of actions related to driving (accelerate, turn left/right, etc). That's how you do it, isn't it? So the peds must do the same (using setPedControlState). Though as far as I know, they cannot enter/exit the vehicles the same way players do (unless the stuff with ped and door animations is remade in Lua), so you have to use warpPedIntoVehicle to put them into cars.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...