İtem Kopyalamayı Engelleme
By : UnknownMerhaba arkadaşlar bu konumuzda serverde item kopyalamayı nasıl engelleyeceğimizi anlatacağız...
"menu_client.lua" dosyasını açıyoruz...
Aşağıda bulunan kısmı buluyoruz isToolbelt olarak aratarak bulabilirsiniz en aşağıda yer almaktadır.
---------------------------------------------------------
if isToolbeltItem(itemName) then
local col = getElementData(getLocalPlayer(), "currentCol")
triggerServerEvent("onPlayerTakeItemFromGround", getLocalPlayer(), itemName, col)
disableMenu()
return
end
-------------------------------------------------------
Yukarıda verilen kısmı aşağıda verilen kısım ile değiştiriyoruz...
--------------------------------------------------------
if isToolbeltItem(itemName) then
local col = getElementData(getLocalPlayer(), "currentCol")
if #getElementsWithinColShape(col, "player") > 1 or getNetworkStats().packetlossLastSecond > 1 then
return
end
x, y, z = getElementPosition(getLocalPlayer())
if pcount ~= nil and pcount < getTickCount() then
pcount = getTickCount() + 2000
x, y, z = getElementPosition(getLocalPlayer())
return false
elseif pcount == nil then
pcount = getTickCount() + 2000
x, y, z = getElementPosition(getLocalPlayer())
return false
end
local x1, y1, z1 = getElementPosition(getLocalPlayer())
if x1 ~= x or y1 ~= y or z1 ~= z then
pcount = nil
return false
end
pcount = nil
triggerServerEvent("onPlayerTakeItemFromGround", getLocalPlayer(), itemName, col)
disableMenu()
return
end
--------------------------------------------------------
Daha sonra aşağıda verilen kısmı buluyoruz...
--------------------------------------------------------
if getPlayerCurrentSlots() + getItemSlots(itemName) <= getPlayerMaxAviableSlots() then
do
local col = getElementData(getLocalPlayer(), "currentCol")
triggerServerEvent("onPlayerTakeItemFromGround", getLocalPlayer(), itemName, col)
disableMenu()
end
else
--------------------------------------------------------
Yukarıda gördüğünüz bu kısımıda aşağıda verdiğim kısımla değiştiriyorsunuz...
--------------------------------------------------------
if getPlayerCurrentSlots() + getItemSlots(itemName) <= getPlayerMaxAviableSlots() then
local col = getElementData(getLocalPlayer(), "currentCol")
if #getElementsWithinColShape(col, "player") > 1 or getNetworkStats().packetlossLastSecond > 1 then
return
end
x, y, z = getElementPosition(getLocalPlayer())
if pcount ~= nil and pcount < getTickCount() then
pcount = getTickCount() + 2000
x, y, z = getElementPosition(getLocalPlayer())
return false
elseif pcount == nil then
pcount = getTickCount() + 2000
x, y, z = getElementPosition(getLocalPlayer())
return false
end
local x1, y1, z1 = getElementPosition(getLocalPlayer())
if x1 ~= x or y1 ~= y or z1 ~= z then
pcount = nil
return false
end
pcount = nil
triggerServerEvent("onPlayerTakeItemFromGround", getLocalPlayer(), itemName, col)
disableMenu()
else
--------------------------------------------------------
Daha sonra dosyamızı kaydedip serverimize restart attıktan sonra item kopyalamayı engellemiş bulunmaktayız. Keyifli Oyunlar :)
Araç Modeli Değiştirme
By : Unknown Evet arkadaşlar bugün sizlere serverde olan bir aracın normal gta skinini istediğimiz bir skin ile değiştirmeyi göstereceğim.
Buyrun Arkadaşlar;
1-) İlk olarak verdiğim dosyayı indiriyoruz ve açıyoruz...
Not ; Txd ve Dff dosyası araca ait model dosyasıdır. Bunları araç modelleri paylaşım sitelerinden bulabilirsiniz...
Örnek ; Gtaİnside GtaModding
2-) Carpack.lua dosyasını açıyoruz..
Araç İD : Burdan bakabilirsiniz.. ( Hangi aracın modelini değiştirmek istiyorsak belirtilen siteden onun Model ID ' sini alıyoruz.. )
3-) Meta.xml dosyasını açıp model dosya adresini ayarlıyoruz.. ( patriot.txd | örneğin bobcat modeli atıcaz dosyası bobcat.txd o şekilde ayarlıyoruz..)
Sunucumuza script olarak dosyamızı atarak rahatlıkla çalıştırabiliriz... Güle güle kullanın iyi modellemeler yapmanız dileğiyle
Mta San Andreas Olası Hatalar ve Çözümleri
By : Unknownhttp://ul.to/w48ari9n
Hatanın Tamamı:
Error loading netc.dll module! (Error 14001: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.)
http://www.microsoft.com/en-us/download/details.aspx?id=5582
