Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: dawało
1. jak zrobić aby przy zalogowaniu gracza odrazu mu dawało prem
jak zrobi? aby przy zalogowaniu gracza odrazu mu dawa?o premium?
2. Co zrobić by dawało broń?
Cze??, posiadam skrypt na duty administracji, dorobi?em w?asn? suszark? lecz nie wiem co zrobi?, by po wpisaniu komendy duty i zalogowaniu si? na rang? da?o nam Colta (ID 22)
Tutaj macie ten kodzik i prosz?, pode?lijcie mi ju? gotowy kod, nie zr?bcie tylko czego? takiego ?e gdy nie jeste?my w sql to nam daje bro? :D
[code]
function jestRCONem(gracz)
if getElementData(gracz, "duty") == 3 then return true end
end


function jestADMINem(gracz)
if getElementData(gracz, "duty") == 2 then return true end
end


function jestModem(gracz)
if getElementData(gracz, "duty") == 1 then return true end
end

addCommandHandler("admins", function(gracz,cmd)
admini = {}
rconi = {}
moderatorzy = {}
for k,v in ipairs(getElementsByType("player")) do
if jestRCONem(v) then
table.insert(rconi, getPlayerName(v))
elseif jestModem (v) then
table.insert(moderatorzy, getPlayerName(v))
elseif jestADMINem(v) then
table.insert(admini, getPlayerName(v))
end
end
for i=0,1 do
outputChatBox(" ", gracz)
end
outputChatBox("* Dost?pni RCON'i:", gracz, 120, 0, 0)
if #rconi > 0 then
outputChatBox(table.concat(rconi, ", "), gracz)
else
outputChatBox("brak", gracz)
...
3. Co się dawało do acl bo panel nie działa?
Co si? dawa?o do acl bo panel nie dzia?a?