Punch of death

Anything to do with GTA1/GTA2 modding (tools, scripts and more).
Post Reply
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Punch of death

Post by Razor »

does sb have the punch of death script for all six players?
User avatar
Sektor
Boss
Boss
Posts: 1433
Joined: 04 Mar 2008, 06:51
GH nick: Sektor
Location: GTAMP.com
Contact:

Re: Punch of death

Post by Sektor »

I don't know what sb means but here is the 6 player death punch script.
Razor
Lunatic
Lunatic
Posts: 456
Joined: 19 Jul 2008, 14:14
GH nick: Razor, R
Location: Poland / Szczecin
Contact:

Re: Punch of death

Post by Razor »

sb - somebody :)
Galactic Boy
Immortal
Posts: 334
Joined: 15 Apr 2012, 08:26

Re: Punch of death

Post by Galactic Boy »

The punch of death script for all six players is:

Code: Select all

PLAYER_PED Player1 = ( 126.5 , 128.5 , 2.0 ) 5 0
PLAYER_PED Player2 = ( 127.5 , 128.5 , 2.0 ) 6 0
PLAYER_PED Player3 = ( 128.5 , 128.5 , 2.0 ) 7 0
PLAYER_PED Player4 = ( 129.5 , 128.5 , 2.0 ) 8 0
PLAYER_PED Player5 = ( 130.5 , 128.5 , 2.0 ) 9 0
PLAYER_PED Player6 = ( 131.5 , 128.5 , 2.0 ) 10 0

CHAR_DATA victim

COUNTER true = 1

LEVELSTART

WHILE_EXEC ( true = 1 )

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player1 ) )
STORE_LAST_CHAR_PUNCHED ( Player1 , victim )
KILL_CHAR ( victim )
ENDIF

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player2 ) )
STORE_LAST_CHAR_PUNCHED ( Player2 , victim )
KILL_CHAR ( victim )
ENDIF

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player3 ) )
STORE_LAST_CHAR_PUNCHED ( Player3 , victim )
KILL_CHAR ( victim )
ENDIF

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player4 ) )
STORE_LAST_CHAR_PUNCHED ( Player4 , victim )
KILL_CHAR ( victim )
ENDIF

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player5 ) )
STORE_LAST_CHAR_PUNCHED ( Player5 , victim )
KILL_CHAR ( victim )
ENDIF

IF ( HAS_CHAR_PUNCHED_SOMEONE ( Player6 ) )
STORE_LAST_CHAR_PUNCHED ( Player6 , victim )
KILL_CHAR ( victim )
ENDIF

ENDWHILE

LEVELEND
Post Reply