Jail Game text.
#1

Hi guys.

So i was wondering... How could i make a player that is in jail see the time that he has to be there.

I copied my /count comand..
I already changer the variables.
It looks like this:

Bottom of my GM
Код:
public JailTime(){
if (JailText > 0){
GameTextForAll( JailTimeText[JailText-1], 1000, 3);
JailText--;
SetTimer("JailTimeText", 1000, 0);
}
return 1;}
Top of my GM
Код:
//Jail
forward Jail(playerid, killerid);
forward JailTime();
new JailText = 5;
new JailTimeText[5][5] ={
"1",
"2",
"3",
"4",
"5",
};
So for example if i want player to sit in jail for 3 mins.. do i have to add it like this? :

Код:
new JailTimeText[5][5] ={
"1",
"2",
"3",
"4",
"5",
...,
...,
...,
...,
...,
"300"
};
That would take up 300 lines or is there a easier way of doing it?
Reply


Messages In This Thread
Jail Game text. - by Shetch - 19.02.2011, 03:20
Re: Jail Game text. - by Shetch - 19.02.2011, 03:37
Re: Jail Game text. - by Serbish - 19.02.2011, 03:39
Re: Jail Game text. - by Shetch - 19.02.2011, 03:48
Re: Jail Game text. - by Shetch - 19.02.2011, 04:09
Re: Jail Game text. - by Serbish - 19.02.2011, 12:18
Re: Jail Game text. - by Shetch - 19.02.2011, 12:58
Re: Jail Game text. - by Serbish - 19.02.2011, 15:12

Forum Jump:


Users browsing this thread: 3 Guest(s)