[HELP] prison timer seconds
#7

in public JailTimeLeft is

pawn Код:
forward JailTimerLeft(playerid);
public JailTimerLeft(playerid)
{
    if(PlayerInfo[playerid][pJailed] != 0)
    {
         PlayerInfo[playerid][pJailTime] -= 1;
         new string[128];
         format(string,sizeof(string),"%d",PlayerInfo[playerid][pJailTime]);
         TextDrawSetString(Text2,string);
         TextDrawShowForPlayer(playerid,Text:Text1);
         TextDrawShowForPlayer(playerid,Text:Text2);
    }
    else
    {
         KillTimer(JailTimer[playerid]);
         TextDrawHideForPlayer(playerid,Text:Text1);
         TextDrawHideForPlayer(playerid,Text:Text2);
     }
     return 1;
}
Reply


Messages In This Thread
[HELP] prison timer seconds - by Luca12 - 23.01.2015, 12:34
Re: [HELP] prison timer seconds - by SV - 23.01.2015, 12:36
Re: [HELP] prison timer seconds - by Luca12 - 23.01.2015, 12:44
Re: [HELP] prison timer seconds - by Schneider - 23.01.2015, 13:22
Re: [HELP] prison timer seconds - by Luca12 - 23.01.2015, 13:41
Re: [HELP] prison timer seconds - by Schneider - 23.01.2015, 13:52
Re: [HELP] prison timer seconds - by Luca12 - 23.01.2015, 13:58
Re: [HELP] prison timer seconds - by Lenon - 23.01.2015, 14:16
Re: [HELP] prison timer seconds - by Luca12 - 23.01.2015, 14:19
Re: [HELP] prison timer seconds - by Lenon - 23.01.2015, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)