KamikazeSripterul
Well-known member
- Joined
- Jun 30, 2019
- Messages
- 353
- Reaction score
- 23
Hey. So ive tried to make a new script or something that i'd be able to use in a project i'm working on even though i'm not sure how to solve this.
So here's the script:
	
	
	
		
I'm not sure how to make %s and %d in the Dialog to work... I've tried writing the variables between the " Transferring to %s [ID: %d]"" and the comma but it still didnt work...
Can anyone help me please? Thanks.
			
			So here's the script:
		Code:
	
	if SAMP.DialogRespond(830, 20@, 0, 25@)
    then
        if 20@ == 1
        then
            0C1A: 26@ = atoi 25@
            0AF1: write_int 26@ to_ini_file "cleo\ServerCMD.ini" section "Bank" key "idtransfer"
            if SAMP.IsPlayerConnected(19@)
            then
                0B36: samp 1@ = get_player_nickname 19@
            SAMP.ShowDialog(840, "{000089}[{770089}Bank Manager{000089}]: Transferring to %s [ID: %d]", "Please insert the amount of money you'd like to transfer", "Transfer", "Back", 1) 19@ 1@
        else
            if 20@ == 0
            then
                chatmsg "{000089}[{770089}Bank Manager{000089}]: {ff9000}Transaction has been cancelled." -1
                end
            end
        end
        0C11: memset destination 25@ value 0 size 50
    endCan anyone help me please? Thanks.
 
				 
 
		 
 
		