Check! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Check! (
/showthread.php?tid=663581)
Check! -
RedRex - 05.02.2019
Hello I need a help.. I've creating a command and everything are worked but I need now make such a Wanna a player in jailed and different player wanna check the time of the player he must use /bail [ID OF THE PLAYER WHO IN JAIL] and they must show him the delits such time. but wanna different player wanna checking my time when im in jail he got 0 messages why? he did not received any message of time of the player who in jail.
PHP код:
else
{
if(PlayerInfo[playerid][pJailed] == 1) // If the id which he typed is the same as his id
{
format(fstr2,sizeof(fstr2), "{00BDFF}[Jail Released]: {FFFFFF}%s(%d) has not served their minimum Jail Sentence yet. {FFFFFF}Time left: {0080FF}%d{FFFFFF}.", GetName(playerid),playerid,pJailCount[playerid]);
SendClientMessage(playerid, -1, fstr2);
return 1;
}
if(id == PlayerInfo[playerid][pJailed] && 1)
{
format(fstr2,sizeof(fstr2), "{00BDFF}[Jail Released]: {FFFFFF}%s(%d) has not served their minimum Jail Sentence yet. {FFFFFF}Time left: {0080FF}%d{FFFFFF}.", GetName(playerid),playerid,pJailCount[playerid]);
SendClientMessage(id, -1, fstr2);
return 1;
}
}
}
return 1;
}
Re: Check! -
TheToretto - 05.02.2019
Focus on one topic, that's all you need, not 2 different topics with the same help reason.
Re: Check! -
RedRex - 05.02.2019
Leave the focus now! and How to i can fix this ! I just wanna a differnet player wanna check the timer of jail of enemy player they will sent him a delits such %s(%d) has not served their like that! how