RFWorld
Would you like to react to this message? Create an account in a few clicks or log in to continue.

RFWorldLog in

Rising Force World

ANNOUNCEMENT

HOW TO DOWNLOAD THE FILE?

CLICK THE LINK FILE YOU WANT TO DOWNLOAD, THEN CLICK FREE ACCESS, LAST STEP IS FOLLOW THE LINK TILL YOU FIND THE FILE ORIGINAL LINK,

THIS ADS LINK MANDATORY TO KEEP OUR FORUM ALIVE♥️


PLEASE SUPPORT US BY CLICK THE ADS LINK, TURN OFF ADBLOCK ♥️

OR YOU CAN SUPPORT US THROUGH PAYPAL / SAWERIA ♥️

THE FORUM WILL BE SHUT DOWN IN THE END OF THE YEAR

IF WE GOT NO SUPPORT ANYMORE Tears





description[ASK] Cara tambahin cash coin Empty[ASK] Cara tambahin cash coin

more_horiz
halo gan mau tanya dong kalo mau tambahin cash coin gimana ya caranya??

description[ASK] Cara tambahin cash coin EmptyRe: [ASK] Cara tambahin cash coin

more_horiz

Code:

  /****** Bacuy`s Area ******/
 /****** Script add premium, tanpa harus mendelete ******/
 /****** jika sudah ada pada table ******/

DECLARE @id VARCHAR(13)
DECLARE @status int
DECLARE @lama int
DECLARE @cash int

/****** Your Name ******/
SET @id = 'strom'

/****** Set 2 for turn on Premium or Set 1 for turn off Premium  ******/
SET @status = '2'

/****** How long players get premium service (in days) exemple : 1 for 1 days, 2 for 2 days, 3 for 3days. ******/
SET @lama = '30'

/****** Ini gak perlu di isi, ini query khusus add premium aja ******/
SET @cash = '0'

/************************************************************************************************************************************************/

declare @count numeric(18, 0)
select @count = COUNT(*) from [BILLING].[dbo].[tbl_UserStatus] where id = @id

if (@count = 0)
begin
   INSERT INTO [BILLING].[dbo].[tbl_UserStatus]
   (
   [id],
   [Status],
   [DTStartPrem],
   [DTEndPrem],
   [Cash]
   )
   VALUES
   (
   @id,
   @status,
   CONVERT(datetime,GETDATE()),
   CONVERT(datetime,GETDATE()+@lama),
   @cash
   )
end
else
begin
   update [BILLING].[dbo].[tbl_UserStatus]
   set [Status] = @status,
   [DTStartPrem] = CONVERT(datetime,GETDATE()),
   [DTEndPrem] = CONVERT(datetime,GETDATE()+@lama),
   [Cash] = @cash
   where id = @id
end

/***********************************************************************************************************************************************/



Tinggal di set aja sesuai ID, Amount cash nya di Set Cash

Terus execute sql nya,

Kalo di client ga masuk juga cash coin nya, coba pakai game guard biar works. Atau bisa pakai server files rf offline auto installer karena udh termasuk game guard dan cash coin nya jalan, udah gw test

description[ASK] Cara tambahin cash coin EmptyRe: [ASK] Cara tambahin cash coin

more_horiz
itu bukannya querry utk premium doang gan?

description[ASK] Cara tambahin cash coin EmptyRe: [ASK] Cara tambahin cash coin

more_horiz
%show me the gold
di cs dpt 500k

description[ASK] Cara tambahin cash coin EmptyRe: [ASK] Cara tambahin cash coin

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum
power_settings_newLogin to reply