Same amount!
#5

you can use format(...

PHP Code:
new string[128], name1[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
GetPlayerName(playeridname1sizeof(name1));
GetPlayerName(idname2sizeof(name2));
format(string,sizeof(string),"%s(%d) has pay the bail of the jailed to %s(%d)",name1,playerid,name2,id);
SendClientMessageToAll(stringcolor); 
that id is the one who put him in the jail.
to have it in your previous order, you can store it in the variable.

ex:
PHP Code:
JailedIDto[id] = playerid;
when he uses command jail or what command you have there
that's what you should do, I hope you understand.
Reply


Messages In This Thread
Same amount! - by Man43 - 25.07.2018, 07:38
Re: Same amount! - by Man43 - 25.07.2018, 09:43
Re: Same amount! - by Florin48 - 25.07.2018, 10:02
Re: Same amount! - by Man43 - 25.07.2018, 12:13
Re: Same amount! - by Florin48 - 25.07.2018, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)