Lmao, He's right. But Tapl he says he gets no errors on his screen but get's errors on others . So this could be due to the Screen Size he set the GUi to work with.
Make teams using tables for the jobs aswell, you have to create Markers and add onMarkerHit -
if ( trucker ) and ( trucker ~= source ) then
givePlayerMoney ( trucker, 1000 )
end
-- Print a list of all the alive players
alivePlayers = getAlivePlayers ()
if ( alivePlayers ) then -- if we got the table
alivePlayersList = "none"
-- Loop through the table
for playerKey, playerValue in ipairs(alivePlayers) do
-- add their name to the list
if ( alivePlayersList == "none" ) then
alivePlayersList = getPlayerName ( playerValue )
else
alivePlayersList = alivePlayersList .. ", " .. getPlayerName ( playerValue )
end
end
outputChatBox ( "Alive Players: " .. alivePlayersList )
end