Postado Setembro 27, 2016 8 anos if getPlayerStorageValue(cid, storage1) > 0 then if getPlayerStorageValue(cid, storage2) > 0 then end end como faço para esses dois if ser um só? tipo em java: if ((num>=0) && (num2 >= 0)) end Editado Setembro 27, 2016 8 anos por pablobion (veja o histórico de edições)
Postado Setembro 27, 2016 8 anos Solução if getPlayerStorageValue(cid, storage1) > 0 then if getPlayerStorageValue(cid, storage2) > 0 then end end if getPlayerStorageValue(cid storage1) > 0 and getPlayerStorageValue(cid, storage2) > 0 then end
Postado Setembro 27, 2016 8 anos Autor Em 27/09/2016 em 07:06, xWhiteWolf disse: if getPlayerStorageValue(cid, storage1) > 0 then if getPlayerStorageValue(cid, storage2) > 0 then end end if getPlayerStorageValue(cid storage1) > 0 and getPlayerStorageValue(cid, storage2) > 0 then end Muito obrigado, meu bom! Editado Setembro 27, 2016 8 anos por pablobion (veja o histórico de edições)
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.