cybersau
10.01.2010, 20:45
Hi to all.
Ich brauche Hilfe beim Fixxen dieser Floodmod version:
http://www.garrysmod.org/img/?t=dll&id=56601 (http://www.garrysmod.org/downloads/?a=view&id=56601)
Der Donation Screen muss weg
Arbeite schon Wochen daran und nichts.
Bin halt ein LUA Noob XD.
Brauche jemanden der sich der sache gewachsen fühlt.
werde es nicht veröffentlichen.
thx im voraus.
edit:
Wer alle Stools für alle haben will
einfach diese stelle in der init.lua löschen:
function GM:CanTool(pl, tr, tool)
if table.HasValue(BTools, tool) || table.HasValue(STools, tool) then
if table.HasValue(BTools, tool) then
if pl:SteamID() == FindMe || pl:SteamID() == FindMe1 then
return true
else
return false
end
end
if tr.Entity:IsWorld() then
return false
elseif !tr.Entity:IsValid() then
return false
elseif tr.Entity:GetNetworkedEntity("Owner") != pl then
return false
else
if table.HasValue(STools, tool) then
if pl:IsAdmin() then
return true
else
if tool == "remover" then
pl:ChatPrint("Use the \"Remover Tool\" to remove props, this is the remover(Admins only)")
return false
else
pl:ChatPrint("This tool is vip+ only, check the donations page in the Q menu on how to get it.")
return false
end
end
end
end
else
return true
end
end
Ich brauche Hilfe beim Fixxen dieser Floodmod version:
http://www.garrysmod.org/img/?t=dll&id=56601 (http://www.garrysmod.org/downloads/?a=view&id=56601)
Der Donation Screen muss weg
Arbeite schon Wochen daran und nichts.
Bin halt ein LUA Noob XD.
Brauche jemanden der sich der sache gewachsen fühlt.
werde es nicht veröffentlichen.
thx im voraus.
edit:
Wer alle Stools für alle haben will
einfach diese stelle in der init.lua löschen:
function GM:CanTool(pl, tr, tool)
if table.HasValue(BTools, tool) || table.HasValue(STools, tool) then
if table.HasValue(BTools, tool) then
if pl:SteamID() == FindMe || pl:SteamID() == FindMe1 then
return true
else
return false
end
end
if tr.Entity:IsWorld() then
return false
elseif !tr.Entity:IsValid() then
return false
elseif tr.Entity:GetNetworkedEntity("Owner") != pl then
return false
else
if table.HasValue(STools, tool) then
if pl:IsAdmin() then
return true
else
if tool == "remover" then
pl:ChatPrint("Use the \"Remover Tool\" to remove props, this is the remover(Admins only)")
return false
else
pl:ChatPrint("This tool is vip+ only, check the donations page in the Q menu on how to get it.")
return false
end
end
end
end
else
return true
end
end