[Help] Personal ID Code

drong2

Member
Joined
Dec 22, 2010
Messages
33
Reaction score
0
Hello, how can I remove personal id code of the game?I can not delete players,I can not leave the guild..Server file pinkof season 2, help plyasee;(
 
declare @gloop char(15)
declare @gctr int
declare @tctr int

set @tctr=0
set @gctr=0


select G_name from Guild
set @tctr = @@ROWCOUNT


while @gctr<@tctr
BEGIN

set @gctr = @gctr + 1

select @gloop=G_name from Guild
select * from Guildmember where G_Name=@gloop

IF @@ROWCOUNT < 2
begin

delete from Guildmember where G_Name = @gloop
delete from Guild where G_Name = @gloop

end

END

Try this for leaving guild