[FS] Automatic rocket turretts......script help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [FS] Automatic rocket turretts......script help (
/showthread.php?tid=97890)
[FS] Automatic rocket turretts......script help -
Simo89 - 17.09.2009
Hi all !!

I'm back in this session for a "small problem"

I' m making an automatic rocket turrett (like the forbidden zone in the single player mode) for my admin island....
Could anybody help me, please? I tried to make it many times but nothing.....This script will makes me crazy!!!!!!!!

Is there any scripter to help me?? I don't care for the position , because i'll find by myself...
PS: Sorry for my bad english (as usual...)
Simo89
Re: [FS] Automatic rocket turretts......script help -
Ov3rl0rd - 18.09.2009
What are the coords of your admin island where you want the rocket turrets?
Re: [FS] Automatic rocket turretts......script help -
Simo89 - 18.09.2009
But do you want the global island coords or the turretts only?
Re: [FS] Automatic rocket turretts......script help -
Ov3rl0rd - 18.09.2009
Well wherever you want the turrets
Re: [FS] Automatic rocket turretts......script help -
Redirect Left - 18.09.2009
The best you could do is, use PlayerToPoint, then GetPlayerPos, and create explosions in the general direction of the player, is what I can come up with.
Re: [FS] Automatic rocket turretts......script help -
Yuryfury - 18.09.2009
http://forum.sa-mp.com/index.php?topic=52187.0
just look at some parts and see how it works :P
Re: [FS] Automatic rocket turretts......script help -
decondelite - 18.09.2009
Quote:
Originally Posted by Yuryfury
|
The DL links are dead. I've PMed the FS creator in order to have a new one. Hope he'll read...
Re: [FS] Automatic rocket turretts......script help -
Simo89 - 18.09.2009
wow thanks to all!!!!

Sorry for the first answer but i couldn't show my coords because i can't open the game.....i'm not at home

Maebe tomorrow i'll send you the position of turretts...
Thanks
simo89
Re: [FS] Automatic rocket turretts......script help -
Yuryfury - 18.09.2009
Create An Object (hydra flare) at the turret object's position, then make a timer and check if a player is a certain distance from it (Use PlayerToPointor GetDistanceToPoint) and if they are MoveObject towards the players location.