Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: Malcolm on October 22, 2014, 03:36:24 am

Title: Suicide frags
Post by: Malcolm on October 22, 2014, 03:36:24 am
Hello. If the player kills himself then he is taken away frag.

how can I do this? Thanks!
Title: Re: Suicide frags
Post by: Furai on October 22, 2014, 04:35:01 am
Isn't it like that already when you use /kill, /brutalkill or /mercy commands?

Or did you mean the kills when you for example kill yourself with a grenade, law, m79, knife?
Title: Re: Suicide frags
Post by: Malcolm on October 22, 2014, 04:42:53 am
"Or did you mean the kills when you for example kill yourself with a grenade, law, m79, knife?"
Title: Re: Suicide frags
Post by: Furai on October 22, 2014, 06:31:51 am
Probably you can do it with scripts. You'd have to check if killers ID equals Victims ID and if it wasn't done via any of the commands I have mentioned. Have you search forums? There might be a script like that already.
Title: Re: Suicide frags
Post by: Malcolm on October 29, 2014, 08:55:12 am
Yes , I searched the forum but found nothing.

And i don't know how make script... can anybody help me? I do not think that it is difficult to make ...