Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SPNotifyPlayerKill
Syntax
C++
int SPNotifyPlayerKill(IFunctionHandler* pH, ScriptHandle targetId, ScriptHandle weaponId, bool bHeadShot);
Parameters 
Description 
ScriptHandle targetId 
Target identifier. 
ScriptHandle weaponId 
Weapon identifier. 
bool bHeadShot 
True if the shot was to the head of the target, false otherwise. 

Syntax: GameRules.SPNotifyPlayerKill( ScriptHandle targetId, ScriptHandle weaponId, bool bHeadShot ) 

Notifies that the player kills somebody.

Copyright (c) 2012. All rights reserved.