Skip to content
This repository has been archived by the owner on Jul 18, 2018. It is now read-only.

Commit

Permalink
Modified example server gamemode script
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonHaze420 committed Apr 6, 2018
1 parent 019268e commit cbc91aa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions vice-city-coop/server/Scripts/Server/default.lua
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
function onServerStart()
print("Default Gamemode Started")

local modelID = 226
local randColorA = GetRandomVehicleColor()
local randColorB = GetRandomVehicleColor()

AddVehicle(modelID, 538.117798, 626.908203, 10.901563, randColorA, randColorB)
AddVehicle(modelID, 540.117798, 630.908203, 10.901563, randColorA, randColorB)
AddVehicle(226, 538.117798, 626.908203, 10.901563, GetRandomVehicleColor(), GetRandomVehicleColor())
AddPed(7, 540.117798, 630.908203, 10.901563, true)
end
function onPlayerConnect(id)
print("Player "..GetPlayerName(id).. " joined!")
Expand Down

0 comments on commit cbc91aa

Please sign in to comment.