What's new

Script Squid Game script + Mlo

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316
as far as i no the spawn coords are all messed up goto config change line 16 to
  1. vector3(-253.1465, -3276.012, 290.00985) thats as far as i got with it the molo is next to airport in the sky
  2. from looking around i think this is level 1 and 5 but there no script for 5

previews :
Preview:
 

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316

Yvan XD

Gold Elite
Joined
Oct 1, 2021
Messages
229
Reaction score
4,288
Points
306
Location
Munich
thank you very much for your generosity and your sharing, can't wait to test it :)
 

Yvan XD

Gold Elite
Joined
Oct 1, 2021
Messages
229
Reaction score
4,288
Points
306
Location
Munich
QBCore: SCRIPT ERROR: @squid-game-script/server/framework.lua:74: attempt to index a nil value (local ‘Ply’)
When someone win the game

resolved:

replace the function Framework.showWinnerMessage by following one:

function Framework.showWinnerMessage(toWhomId, winnerId, rewardAmount)
if Config.Framework == "ESX" then
local winnerName = GetPlayerName(winnerId)
local xPlayer = ESX.GetPlayerFromId(winnerId)
if xPlayer then
winnerName = xPlayer.getName()
end
TriggerClientEvent("chat:addMessage", toWhomId, _U("player_%s_won_%s", winnerName, rewardAmount))
elseif Config.Framework == "QB" then
local winnerName = GetPlayerName(winnerId)
local Ply = QBCore.Functions.GetPlayer(winnerId)
if Ply then
winnerName = Ply.PlayerData.charinfo.firstname .. " " .. Ply.charinfo.PlayerData.lastname
end
TriggerClientEvent("chat:addMessage", toWhomId, _U("player_%s_won_%s", winnerName, rewardAmount))
elseif Config.Framework == "Your_Framework" then
local winnerName = GetPlayerName(winnerId)
TriggerClientEvent("chat:addMessage", toWhomId, _U("player_%s_won_%s", winnerName, rewardAmount))
else
local winnerName = GetPlayerName(winnerId)
TriggerClientEvent("chat:addMessage", toWhomId, _U("player_%s_won_%s", winnerName, rewardAmount))
end
end
 

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316
id love a working version for qbus if any one fixes it
 

weedtja

Member
Joined
May 12, 2021
Messages
13
Reaction score
1
Points
156
With me the map does not load but the script and so everything works always fall into the water
 

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316
With me the map does not load but the script and so everything works always fall into the water
have to change the spawn cord for the one i posted the maps in a diff location
 

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316
for any one else open the txt copy it all replace it in the config.lua save thats as far as i went with it
 

Attachments

  • config.txt
    10.1 KB · Views: 623
Last edited:

PewPew

Gold Elite
Joined
May 1, 2021
Messages
182
Reaction score
945
Points
316
thats only map1 and the script, do you have the other maps?
no just that pal is there more maps i know there some one the left as u spawn in the glass bridge and the lobby is there
 
Top