Post
by Hologram » 30 Oct 2020, 13:24
exite alguma função embutida pra coletar a tecla?
Eu precisa de um script mais ou menos assim:
Code: Select all
getTeclaColetada, guardarNessaVariavel
ControlSend,, {%guardarNessaVariavel%}, Janela.exe
Discord: Npc Bugado#9074
local config = {
delrey = getPlayerCarValue(cid, DELREY),
cigarro = getPlayerCancer(cid, DERBY),
prostituta = getPlayerAIDS(cid, cracuda),
tresOitao = getPlayerRevorvi(cid, 38)
}
if(delrey == "Ligado" and cigarro == "Aceso" and prostituta == "No Colo" and tresOitao == "Carregado") then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Começou o fim de semana. #PAS")
end