SA-MP Forums Archive
Script for making it unpossible for civilian to attack a tank, army. - 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: Script for making it unpossible for civilian to attack a tank, army. (/showthread.php?tid=129798)



Script for making it unpossible for civilian to attack a tank, army. - LexieBoy - 23.02.2010

Hey, I'm playing on a RP server, and I'm tired of being dmed by cops and by innocent players ( no wanted ).
Is there a script that turns off the damage ?



Re: Script for making it unpossible for civilian to attack a tank, army. - Torran - 23.02.2010

Theres a certain code that makes you invincible


Re: Script for making it unpossible for civilian to attack a tank, army. - LexieBoy - 23.02.2010

Im not talking about invisible, but the admins on the server don't want to make the defense higher of the tank, because it will make it too 'diffecult' for criminals to attack the tank.
And I don't even know if this is possible.
But with invisible, you mean that they don't see you? or that they can shoot right through you.


Re: Script for making it unpossible for civilian to attack a tank, army. - Torran - 23.02.2010

I didnt say invisible i said invincible

Invincible = Cant destroy
Invisible = Cant see


Re: Script for making it unpossible for civilian to attack a tank, army. - LexieBoy - 23.02.2010

and I dont want to hack


Re: Script for making it unpossible for civilian to attack a tank, army. - Miguel - 23.02.2010

Use SetPlayerHealth and a Timer to make them God.


Re: Script for making it unpossible for civilian to attack a tank, army. - LexieBoy - 24.02.2010

I think you are getting me wrong.
I'm playing on a cops and robbers server, and the cops and innocent players ( no wanted ) , are attacking me when I'm in my tank.
Because I'm army on the server.
I don't know anything about scripting, so I tell the admins what you guys said here to make a script for it

It should prevent damage done by civilians and cops. But it needs to do damage when wanted players shoot me.


Re: Script for making it unpossible for civilian to attack a tank, army. - Klutty - 24.02.2010

It's not possible to prevent damage.