-
Content Count
120 -
Joined
-
Last visited
-
Days Won
2
~#BlackSCR last won the day on September 9 2020
~#BlackSCR had the most liked content!
Community Reputation
46 GoodAbout ~#BlackSCR
-
Rank
Sucka
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
removeHex
-
ultimaSkin = {} function morrerUltimaSkin() local skin = getElementModel(source) ultimaSkin[source] = skin local lastSkin = ultimaSkin[source] if ultimaSkin[source] then setTimer(setElementModel, 3000, 1, source, lastSkin) ultimaSkin[source] = nil end end addEventHandler ( "onPlayerWasted", root, morrerUltimaSkin ) Tente user este codigo (server.lua)
-
onPlayerQuit getElementData addBan
-
warpPedIntoVehicle ?
-
Código incompleto, mande como voce adiciona eles na grid quando ela abre!
-
Me mande o script do inventário no privado? e de remoção de armas também! Corrigirei para você.
-
Mande o código de seu inventário, para adição e remoção de itens...
-
function desativeWeapon () toggleControl ( source , "previous_weapon", false ) toggleControl ( source, "next_weapon", false ) end addEventHandler ( "onPlayerJoin", getRootElement(), desativeWeapon) Bom, não testei... Mas imagino que seja assim! Teste
- 7 replies
-
- 1
-
-
- programador
- ajuda
-
(and 1 more)
Tagged with:
-
Nesta função, não vejo a função de criar um "drop" de armas... Só vejo um setTimer para spawnar o player!
-
Olá! Já existe um script deste na internet!! Link
-
Desculpe, eu fiz na pressa rsrs aonde está; getAccountName(thePlayer) troque por: getAccountName(account)
-
Boa noite. se mandar o seu código facilitaria nosso trabalho rs
-
radar nativo do mta aparecendo com o modificado
~#BlackSCR replied to eqFoxim's topic in Programação em Lua
Utilize a function: setPlayerHudComponentVisible -
Opa meu querido, boa noite! Bom, seu código está um pouco feinho rs mas vamos lá!!! Tente assim: addEvent("onRequestRegister",true) addEventHandler("onRequestRegister",resourceRoot, function(username,password,repassword,serial) local getAccounts = getAccountsBySerial (getPlayerSerial (client)) if getAccounts[1] then triggerClientEvent (client, "setNotification", resourceRoot, "Você já tem uma conta registrada. User: "..getAccountName(getAccounts[1])) else addAccount() if not (username == "") then if not (password == "") then if not (repasswor
- 5 replies
-
- 1
-
-
- limit
- limitregister
- (and 16 more)
-
Bom, tente: function limparacl (thePlayer) local account = getPlayerAccount(thePlayer) local accountName = getAccountName(thePlayer) for _, grupos in ipairs(aclGroupList()) do if isObjectInACLGroup("user." .. accountName, grupos) then aclGroupRemoveObject (aclGetGroup(""..grupos), "user."..accountName) end end outputChatBox("Todas As Acls Foram Removidas Da Sua Conta", thePlayer,255,255,255,true) end addCommandHandler("melimpa", limparacl)