Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RevivePlayer
Syntax
C++
int RevivePlayer(IFunctionHandler * pH, ScriptHandle playerId, Vec3 pos, Vec3 angles, int teamId, bool clearInventory);
Parameters 
Description 
ScriptHandle playerId 
Player identifier. 
Vec3 pos 
Player position. 
Vec3 angles 
Player angle. 
int teamId 
Team identifier. 
bool clearInventory 
True to clean the inventory, false otherwise. 

Syntax: GameRules.RevivePlayer( ScriptHandle playerId, Vec3 pos, Vec3 angles, int teamId, bool clearInventory ) 

Revives the player. 

 

Copyright (c) 2012. All rights reserved.