Darkwarrior Diesel Posted March 1, 2014 Share Posted March 1, 2014 Hello ladies and gentleman As the title says, i want that when a player types a command...hmm.. lets say /killmadafaca nah, we are not some psycho so lets say /killtime . yea, sounds stupid and dumb, but its time to kill lets get back to the topic plz !! or, instead of a command, i could also use a colshape and and when the player enters in it, a GUI will appear. yes there will be a button for the player to accept whether he wants to fight or not, and when the player press tit he or she will be spawn in a specific place. and at that specific moment, some peds will be spawn near him, or in the specific place, and all the player will have to do is smash all these poolooolooots (poolooolooots mean idk some gay peds, its still an unknown word ) no, i dont want u to do the script 4 me cause im learning, not downloadin scripts and put it in my game!!! Well, now that im thinkin, its a pretty idea to make this into a job ---- the punisher sounds great the player will have to kill some stupid peds, yeah the peds will attack him too, and if the player has successfully killed all the ped, another ped will come to him the most powerful ped ever existed and if the player succeeds to kill him, he becomes a fuckin millionaire or, he unlock another stage, where he will have to kill another bunch of noobs again and get his money. end of story now my friends,all i want to ask u is how to proceed, cause i really want to make this, im determined to do that. you are pros, and im still a beginner. thats y i need ur advice wat functions should i use for the ped to follow u and attack u how to unlock another killin mission, by usin a sort of experience. if the player succeeds in the first mission, he receives some money and most important, a number of experience that he will need to unlock another mission!! ? and if yes for the experience, how to save it so that when the player quits and come back into game, he gets back his experience ? Thank u soo much my friends,have a nice journey Link to comment
Vanlot Posted March 1, 2014 Share Posted March 1, 2014 "onElementColShapeHit" "addCommandHandler" setBotFollow setBotHunt spawnBot You need to have Slothbot resource to use the functions above Link to comment
Darkwarrior Diesel Posted March 1, 2014 Author Share Posted March 1, 2014 noo i dont want to use the slothbot resource, i want to make my own. Link to comment
Anubhav Posted March 1, 2014 Share Posted March 1, 2014 My pro friend. createPed setPedStat setPedOnFire setPedWalkingStyle setPedWeaponSlot setPedArmor killPed Link to comment
Darkwarrior Diesel Posted March 1, 2014 Author Share Posted March 1, 2014 my friend, thnk u but it does not include functions that the ped will follow u and tries to kill u Link to comment
Vanlot Posted March 1, 2014 Share Posted March 1, 2014 Darkwarrior Diesel , Slothbot is just a resource which allow you to do anything with peds and you gonna script that, not the resource. for more informations read this : https://community.multitheftauto.com/index.php?p=resources&s=details&id=672 @Anubhav setPedOnFire this function will burn the player,it will not let him attack other peds Link to comment
Darkwarrior Diesel Posted March 1, 2014 Author Share Posted March 1, 2014 Vanlot, i understand u bro, thnk u but bro my problem with slothbot is that its not me who created that, and my aim is to create all my resources even if it will take lots of time. Bro, if whenever i want to make a script and anyone tells me to use this and that resource, then i will never be able to script (( i want to make my own. Slothbot resource is great, i like it very much, but if i use this resource, i will never learn then this is a challenge, and i want to face it !!!! Vanlot, thnks for trying to help me bro Link to comment
Anubhav Posted March 1, 2014 Share Posted March 1, 2014 setPedControlState( ped, "fire", true ) I found this. Use setPedControlState function. Link to comment
Hell-Mate Posted March 1, 2014 Share Posted March 1, 2014 Well, you can use setPedAimTarget --to get the target and setPedControlState --to shoot the target Link to comment
Castillo Posted March 1, 2014 Share Posted March 1, 2014 Use this useful function to make the ped face the target: https://wiki.multitheftauto.com/wiki/FindRotation and: setPedRotation Link to comment
Darkwarrior Diesel Posted March 1, 2014 Author Share Posted March 1, 2014 Thnks a lot guys these are going to be very helpful for me, but my last question is, how to make the ped follow u, i mean when he sees u, he comes towards u and then fire at u, or start to punch u !!?? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now