Mass commit
This commit is contained in:
@@ -12,30 +12,6 @@
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function agSpawnPlayer(client, subAccountData) {
|
||||
return spawnPlayer(client, subAccountData.spawnPosition, subAccountData.spawnRotation, subAccountData.skin);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function agCreateVehicle(vehicleData) {
|
||||
return createVehicle(vehicleData.model, vehicleData.spawnPosition);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function agSetVehiclePosition(vehicle, position) {
|
||||
vehicle.position = position;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function agSetVehicleRotation(vehicle, heading) {
|
||||
vehicle.heading = heading;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function getServerGame() {
|
||||
return server.game;
|
||||
}
|
||||
@@ -200,4 +176,10 @@ function removePlayerFromVehicle(client) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function setPlayerSkin(client, skin) {
|
||||
client.player.modelIndex = skin;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user