Ir para conteúdo

Featured Replies

Postado

LoL, mas que preconceito com a minha função. ;/
Try:
 

function onSay(cid, words, param)

if getFreeVip(cid) == 0 then
if addVipDaysByAccount(getPlayerAccountId(cid), 2) then
db.executeQuery("UPDATE accounts SET freevip=1 WHERE id='" .. getPlayerAccountId(cid) .. "';")
doPlayerPopupFYI(cid, "Voce ganhou 2 dias de VIP.")
end
else
doPlayerPopupFYI(cid,"Voce ja pegou sua VIP.")
end
return true
end

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

  • Respostas 16
  • Visualizações 508
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Pode settar uma global storage com o id da conta.

  • Não testei.. Query:   ALTER TABLE `accounts` ADD `freevip` TINYINT(1) NOT NULL DEFAULT '0'; Talkaction   function onSay(cid, words, param) if getFreeVip(cid) == 0 then db.executeQuery("UPDA

  • Try:   function onSay(cid, words, param) if getFreeVip(cid) == 0 then db.executeQuery("UPDATE accounts SET freevip=1 WHERE id='" .. getPlayerAccountId(cid) .. "';") addVipDaysByAccount(getPlayerAc

Posted Images

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo