USE [MuOnline]
DECLARE @ConnectStat tinyint
DECLARE @memb___id varchar (10)
SELECT @memb___id=memb___id,@ConnectStat=ConnectStat FROM memb_stat WHERE ConnectStat=’1′
UPDATE MEMB_INFO SET GOLD=GOLD+15 where memb___id=@memb___id
oque vale ea connectsat que seguinifica ela define se o player esta on ou off