SA
talkaction

[Talkaction] Remover Frags De Todos Players Do Ot

Por Sanf, 26 de out. de 2011 em Actions e Talkactions

script
3
1.6k
SanfS
26 de outubro de 2011 às 19:16

Vou disponibilizar aqui hoje a talkaction clean frags.

 

talkactions/scripts crie cleanfrag.lua e dentro coloque:

 

function onSay(cid, words, param)

if db.executeQuery("UPDATE killers SET unjustified = 0 WHERE id NOT IN (SELECT kill_id FROM player_killers WHERE player_id NOT IN (SELECT id FROM players));") then

return doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,'Todos os frags do serve foram removidos!.')

end

return doPlayerSendCancel(cid, '[Error] não foi possivel deletar as frags do servidor')

end

 

em talkactions.cml adicione:

 

<talkaction log="yes" words="/cleanfrags" access="5" event="script" value="cleanfrag.lua"/>

 

se ajudou REP+ ae!

1 mês depois...
PardalziinP
05 de novembro de 2011 às 18:03

vallew adorei REP+

VodkartV
07 de novembro de 2011 às 20:12

Faltou colocar o crédito hein amigão (: