19.08.2017, 15:28
I know how to hook them up and all that, What i am saying is how can you make a check and hookup the User[playerid][accountGame] over the JakAdmin3_OnPlayerGameTime callback parameters like
hour = User[playerid][accountGame][2]
minute = User[playerid][accountGame][1]
second = User[playerid][accountGame][0]
then jadmin3 will remotely call this callback making it able to be used on the other script
I am not in the best shape right now to explain it properly but HEY i am trying my best
hour = User[playerid][accountGame][2]
minute = User[playerid][accountGame][1]
second = User[playerid][accountGame][0]
then jadmin3 will remotely call this callback making it able to be used on the other script
PHP код:
public OnPlayerGameTime(playerid, hour, minute, second)
{
if(hour >= 1 && !minute && !second)
{
// You have played for X hour:00:00
}
}