if getPlayerBlessing(cid, 1) and getPlayerBlessing(cid, 2) and getPlayerBlessing(cid, 3) and getPlayerBlessing(cid, 4) and getPlayerBlessing(cid, 5) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are blessed.")
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are not blessed.")
end
You could add something like this to login.lua:
LUA:if getPlayerBlessing(cid, 1) and getPlayerBlessing(cid, 2) and getPlayerBlessing(cid, 3) and getPlayerBlessing(cid, 4) and getPlayerBlessing(cid, 5) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are blessed.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are not blessed.") end
local b = 1,5
if not getPlayerBlessing(cid, b) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are not blessed.")
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are blessed.")
end