0 Üye ve 1 Ziyaretçi konuyu incelemekte.
--------------------------- -- Sunucuya giriş mesajı -- ---------------------------function girismesaj ( ) local joinedPlayerName = getPlayerName ( source ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( "#0066ff● #353535" .. joinedPlayerName .. " #ffffffsunucumuza hoş geldin" , source, 255, 255, 255,true ) outputChatBox ( "#00ffff● MB'niz Dolmadıysa #FF0000/araba #00ffffYazarak Araba Alabilirsiniz." , source, 255, 255, 255,true ) outputChatBox ( "#00ffff● Sunucu - Gaming | #ffffff #ffffff© 2020" , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true )endaddEventHandler ( "onPlayerJoin", getRootElement(), girismesaj )
freeroamın dosyalarına gir fr_server ın en altına şunu ekle ordan istediğini kaldırabilirsin kendine göre düzenleyebilirsinKod --------------------------- -- Sunucuya giriş mesajı -- ---------------------------function girismesaj ( ) local joinedPlayerName = getPlayerName ( source ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( "#0066ff● #353535" .. joinedPlayerName .. " #ffffffsunucumuza hoş geldin" , source, 255, 255, 255,true ) outputChatBox ( "#00ffff● MB'niz Dolmadıysa #FF0000/araba #00ffffYazarak Araba Alabilirsiniz." , source, 255, 255, 255,true ) outputChatBox ( "#00ffff● Sunucu - Gaming | #ffffff #ffffff© 2020" , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true ) outputChatBox ( " " , source, 255, 255, 255,true )endaddEventHandler ( "onPlayerJoin", getRootElement(), girismesaj )
function joinHandler(player) if not player then player = source end local r, g, b = math.random(50, 255), math.random(50, 255), math.random(50, 255) setPlayerNametagColor(player, r, g, b) g_PlayerData[player] = { vehicles = {}, settings={} } g_PlayerData[player].blip = createBlipAttachedTo(player, 0, 2, r, g, b) addEventHandler("onFreeroamLocalSettingChange",player,onLocalSettingChange) if getOption('welcometextonstart') then outputChatBox('DogukanSkill F1 panel Başlatıldı', player, 255,255,225, true) end
function joinHandler(player) if not player then player = source end local joinedPlayerName = getPlayerName (player) local r, g, b = math.random(50, 255), math.random(50, 255), math.random(50, 255) setPlayerNametagColor(player, r, g, b) g_PlayerData[player] = { vehicles = {}, settings={} } g_PlayerData[player].blip = createBlipAttachedTo(player, 0, 2, r, g, b) addEventHandler("onFreeroamLocalSettingChange",player,onLocalSettingChange) if getOption('welcometextonstart') then outputChatBox ( "#0066ff● #353535" .. joinedPlayerName .. " #ffffffsunucumuza hoş geldin" , player, 255, 255, 255,true ) outputChatBox ( "#00ffff● MB'niz Dolmadıysa #FF0000/araba #00ffffYazarak Araba Alabilirsiniz." , player, 255, 255, 255,true ) outputChatBox ( "#00ffff● Sunucu - Gaming | #ffffff #ffffff© 2020" , player, 255, 255, 255,true ) end
son attığın kodlarla bunu değiş Kodfunction joinHandler(player) if not player then player = source end local joinedPlayerName = getPlayerName (player) local r, g, b = math.random(50, 255), math.random(50, 255), math.random(50, 255) setPlayerNametagColor(player, r, g, b) g_PlayerData[player] = { vehicles = {}, settings={} } g_PlayerData[player].blip = createBlipAttachedTo(player, 0, 2, r, g, b) addEventHandler("onFreeroamLocalSettingChange",player,onLocalSettingChange) if getOption('welcometextonstart') then outputChatBox ( "#0066ff● #353535" .. joinedPlayerName .. " #ffffffsunucumuza hoş geldin" , player, 255, 255, 255,true ) outputChatBox ( "#00ffff● MB'niz Dolmadıysa #FF0000/araba #00ffffYazarak Araba Alabilirsiniz." , player, 255, 255, 255,true ) outputChatBox ( "#00ffff● Sunucu - Gaming | #ffffff #ffffff© 2020" , player, 255, 255, 255,true ) end