public static CreateAmbientPickup ( string hashKey, Vector3 pos, int value ) : void | ||
hashKey | string | |
pos | Vector3 | |
value | int | |
return | void |
private void MoneyCommand() { GTAFuncs.CreateAmbientPickup("PICKUP_MONEY_CASE", _player.Character.Position, 40000); GTAFuncs.CreateAmbientPickup("PICKUP_MONEY_CASE", _player.Character.Position, 40000); GTAFuncs.CreateAmbientPickup("PICKUP_MONEY_CASE", _player.Character.Position, 40000); GTAFuncs.CreateAmbientPickup("PICKUP_MONEY_CASE", _player.Character.Position, 40000); GTAFuncs.CreateAmbientPickup("PICKUP_MONEY_CASE", _player.Character.Position, 40000); }
private void HealCommand(Entity e) { GTAFuncs.RequestEntityControl(e); e.Health = e.MaxHealth; while (e.Health != e.MaxHealth) { GTAFuncs.CreateAmbientPickup("PICKUP_HEALTH_STANDARD", e.Position, 50000); } }
private void DropCommand(string hash, int value) { GTAFuncs.CreateAmbientPickup(hash, _player.Character.Position, value); }