fengyeblade Posted February 3, 2009 Share Posted February 3, 2009 (edited) HAHA i finished it!! my guard will drive car follow me now...... HOHO Last testing... later will put it here.... Edited February 3, 2009 by fengyeblade Link to comment Share on other sites More sharing options...
HazardX Posted February 3, 2009 Share Posted February 3, 2009 How to let guards drive a car follow me?.... my english is so poor.. So hope friends don't deride me, and give me some help. thanks... I have writing a script mod with scripthookdotnet(http://www.gtaforums.com/index.php?showtopic=392325). When niko in a car, script will count number of guards where outside , and make a car, let they in to it. Appointment a guard be driver(P1). But they can't drive follow niko.... ... Guards always in to the car and stay... sePed[0] don't drive to niko.... There are several things that could cause problems. Is sePed[0] always the driver? You use a position as target in DriveTo, which means that they will drive to this point, but not follow you. Or do you call the task repeatedly? This may also be a problem. Use the current vehicle of the player as target and a high speed setting instead. this way you have to call the task only once. (i didn't try the DriveTo function with a vehicle as target, yet. Maybe it doesn't work. But it should.) sePed[0].Task.ClearAll();sePed[0].Task.AlwaysKeepTask = true;sePed[0].Task.DriveTo(seVeh,myVeh, 70.0F, false,true); Link to comment Share on other sites More sharing options...
fengyeblade Posted February 3, 2009 Author Share Posted February 3, 2009 Thanks HazardX I have a var to save my script state. when Niko is in the car...the state is enable.. SEPED[0] always is the driver.. and and myVeh is not null, i can make sure that. I think script will call that function again and again , finally the guard's car will follow me.... use my code , some times ( mayby 10%), the guard's car start move... but just a little distance, may be 5~8 meter. Or you have some other idears to make guard's car follow me? Link to comment Share on other sites More sharing options...
HazardX Posted February 3, 2009 Share Posted February 3, 2009 Or you have some other idears to make guard's car follow me? when you call the code i wrote above only ONCE when niko enters a car, does it work? Link to comment Share on other sites More sharing options...
fengyeblade Posted February 3, 2009 Author Share Posted February 3, 2009 (edited) HAHA i finished it!! my guard will drive car follow me now...... HOHO Last testing... later will put it here.... Edited February 3, 2009 by fengyeblade Link to comment Share on other sites More sharing options...
BlackDomina Posted February 3, 2009 Share Posted February 3, 2009 A greeeeat thing you re making... i was dreaming bout it ! I have no skill in script but i ll forward it to all my friends... I NEED THIS WORK ! =) Thanx for time and energy. Link to comment Share on other sites More sharing options...
diboze Posted February 3, 2009 Share Posted February 3, 2009 i cant help you with the script. but i would like to see that mod, too So if you at some time need betatesters or anything...just pm Link to comment Share on other sites More sharing options...
fengyeblade Posted February 3, 2009 Author Share Posted February 3, 2009 i will try and try .....again and again.... Link to comment Share on other sites More sharing options...
BlackDomina Posted February 3, 2009 Share Posted February 3, 2009 @fengyeblade : Did you try to talk with Rappo (bodyguards.asi's maker ?) http://www.gtagaming.com/forums/showthread...d=1#post1943609 hope we ll find a solution ! Link to comment Share on other sites More sharing options...
fengyeblade Posted February 4, 2009 Author Share Posted February 4, 2009 @fengyeblade :Did you try to talk with Rappo (bodyguards.asi's maker ?) http://www.gtagaming.com/forums/showthread...d=1#post1943609 hope we ll find a solution ! I try to connect to Rappo to study.... but he not reply me... Of course, i must thanks Rappo and HazarhX... Your work is very great.. Link to comment Share on other sites More sharing options...
iriedreadlock23 Posted February 4, 2009 Share Posted February 4, 2009 ive made bodyguard script that enables guards to follow in any vehicle. they can drive with you, if they cant fit into a vehicle, they will search for another, and drive to your exact position. they stay in car until you call they out. they also have couple of speech actions. if you have question about it, let me know. i can send you complete script. Link to comment Share on other sites More sharing options...
GammaRaptor Posted February 4, 2009 Share Posted February 4, 2009 Here is one that's working and it lets you spawn guards. More info in the link http://www.gtaforums.com/index.php?showtopic=396134 Link to comment Share on other sites More sharing options...
HaterPlayer Posted February 4, 2009 Share Posted February 4, 2009 Here is one that's working and it lets you spawn guards. More info in the link http://www.gtaforums.com/index.php?showtopic=396134 for god sake's, that's his thread! duh! Link to comment Share on other sites More sharing options...
BlackDomina Posted February 6, 2009 Share Posted February 6, 2009 ive made bodyguard script that enables guards to follow in any vehicle. they can drive with you, if they cant fit into a vehicle, they will search for another, and drive to your exact position. they stay in car until you call they out. they also have couple of speech actions. if you have question about it, let me know. i can send you complete script. Yes id like.... =) Just to say, Rappo has been banned from here, thats why he cannot answer. I asked him if we could get access to his source files . dont know if it can help somone... i hope... (as usually... im always full of hope in fact... but for governments, cant know why.) Cheeeeeeers Dam Link to comment Share on other sites More sharing options...
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