CMD:jailtime(playerid,params[]) { new time[20]; jailtime[playerid]--; if(PlayerInfo[playerid][JailTimer] > 0) { format(time,sizeof(time),"Jailtime: %d",PlayerInfo[playerid][JailTimer]); SendClientMessage(playerid,-1,time); } return 1; }
CMD:jailtime(playerid,params[])
{
new time[20];
if(PlayerInfo[playerid][JailTimer] > 0)
{
format(time,sizeof(time),"Jailtime: %d",jailtime);
SendClientMessage(playerid,-1,time);
}
jailtime[playerid]--;
return 1;
}
Still Need Help and For u KillerDVX ready have like this 1 but i don't Need like this
i want for ex:/jail id 1min test 1min=60s So when Player Do /jailtime he see 59s And when he do again /jailtime 58s .... |
I've tested it But it's Like this -1 -2 -3 -4 -5 -6 ...
i Need ... 6 5 4 3 2 1 |
CMD:jailtime(playerid,params[])
{
new time[20];
if(PlayerInfo[playerid][JailTimer] > 0)
{
format(time,sizeof(time),"Jailtime: %d",jailtime);
SendClientMessage(playerid,-1,time);
}
jailtime[playerid];
return 1;
}
CMD:jailtime(playerid,params[])
{
new time[20];
if(PlayerInfo[playerid][JailTimer] > 0)
{
format(time,sizeof(time),"Jailtime: %d",jailtime);
SendClientMessage(playerid,-1,time);
}
jailtime[playerid];/*this warning
return 1;
}
C:\Users\Ayoub\Desktop\xD\gamemodes\xD.pwn(6619) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
CMD:jailtime(playerid,params[])
{
new time[20];
if(PlayerInfo[playerid][JailTimer] > 0)
{
format(time,sizeof(time),"Jailtime: %d",jailtime);
SendClientMessage(playerid,-1,time);
}
jailtime[playerid]++;
return 1;
}