
JoZeFSvK
Members-
Posts
201 -
Joined
-
Last visited
Everything posted by JoZeFSvK
-
now i cant client side delete ?
-
client addEvent("onMapStart",true) addEventHandler("setSkyColor",root, function () setSkyGradient(0,0,0,0,0,0) end) server addEvent("onMapStart",true) function () setSkyGradient(0,0,0,0,0,0) end) triggerClientEvent(source,"setSkyColor",source) from client i have delete setSkyGra.... ?
-
addEvent("onMapStart",true) addEventHandler("setSkyColor",root, function () setSkyGradient(0,0,0,0,0,0) end) this will client addEvent("onMapStart",true) triggerClientEvent(source,"setSkyColor",source) and this server ? ... i need function ye ?
-
in debug i dont see problem ... i wanna when map start sky has cheange to 0 0 0 0 .. for all
-
now only server addEventHandler("onMapStart", getRootElement(), function() setSkyGradient(0,0,0,0,0,0) end) hmm this is good ? because sometimes does not work
-
*Twin Stars* Hey legendary deathmatch clan is back ! We search good players Website >> www.ts-mta.clanweb.eu Forum >> www.ts-forum.clanweb.eu Server IP >> mtasa://85.118.131.200:22025
-
There's no way to hide?
-
Hey how i disable "download progress" when is traveling to next map ?
-
addEvent("onPlayerPickUpRacePickup",true) addEventHandler("onPlayerPickUpRacePickup",getRootElement(), function(number, sort, model) if (sort == "vehiclechange" and model == 425) then triggerClientEvent("onHunterEvent",getRootElement()) return end end)
-
hey i have problem all players recieved cash and first nothing function earnMoney(thePlayer) local position = getAliveRacePlayers() if not (position <= 0) then if getPlayerCount() >= 3 then local pAlive = getAliveRacePlayers() local pDead = getDeadRacePlayers() local maxCash = 21*(pAlive+pDead) local portion = 0 local finalCash = 0 if not (position == 1) then portion = math.ceil(maxCash/(pAlive+pDead-1)) finalCash = math.ceil(portion*(pDead)) else finalCash = maxCash end local playerCash = loadPlayerData(thePlayer,"cash") outputChatBox("#0095FF* #FFFFFFYou have recieved $" .. finalCash .. "!",thePlayer,255,255,255,true) savePlayerData(thePlayer,"cash",playerCash +finalCash) outputDebugString("Final cash for player "..getPlayerName(thePlayer)..": "..finalCash) totalMoneyEarnedAdd(thePlayer,finalCash,finalCash) else outputChatBox("#0095FF* #FFFFFFNot enough players to earn money - #ABCDEF3 #FFFFFFrequired.",thePlayer,255,255,255,true) return end scoreboardRefresh(thePlayer) refreshStats(thePlayer) progressBarUpdate(thePlayer) totalMoneyAchievements(thePlayer) end end
-
Hey when player1 reach hunter see "hunter reached" and when player2 reach hunter again i see "hunter reached" (again) when i fix this problem ?
-
oh ok thank you
-
"I Think that he want a script so he Don't need to look on console for TeamChat." yes i wanna see in chat no in console
-
Hey i have question how i create script where admin will see all teamchat ?
-
again /flip work and !flip dont work
-
comand work , my car fliped , but when i use !flip dont work
-
Hey /flip work and !flip dont work why ? command ! i use on !fix and !nos and work and this ... function buyflip (source) rx, ry, rz = getPedRotation (source) x, y, z = getElementPosition (source) vehicle = getPedOccupiedVehicle (source) vehicler = getPedRotation (source) if ( isPedInVehicle ( source ) ) then local mapName = getMapName() if not (string.find (mapName,"DD")) then local cashHave = tonumber(loadPlayerData(source,"cash")) if (cashHave >= 500) then cashToTake = cashHave - 500 savePlayerData(source,"cash", cashToTake) outputChatBox("#007FFF[shop]#FFFFFF" ..getPlayerName(source).. "#FFFFFF has fliped his car for #007FFF500$. (/flip,!flip)", getRootElement(), 255, 255, 0, true) setVehicleRotation ( vehicle, 0, 0, vehicler, true ) scoreboardRefresh(source) else outputChatBox("#FF0000[shop]#FFFFFFYou need at least #FF0000500$#FFFFFF to buy flip.", source, 255, 0, 0, true) end else outputChatBox("#FF0000[shop]#FFFFFFYou can't upgrade your car in a #FF0000DD map!", source, 255, 0, 0, true) end else outputChatBox("#FF0000[shop]#FFFFFFYou've got to be #FF0000alive#FFFFFF to buy flip!", source, 255, 0, 0, true) end end addCommandHandler('bf', buyflip) addCommandHandler('flip', buyflip) ------------------------------------------------------- -- comand !flip ------------------------------------------------------- addEventHandler('onPlayerChat',root, function(msg,msgtype) if msgtype == 0 then if msg == "!flip" then executeCommandHandler("buyflip",source) end end end )