IsPlayerTabbed(playerid) -
69 - 26.05.2013
Summing it up, would be great to have that function.
Nuff said.
Re: IsPlayerTabbed(playerid) -
Scenario - 26.05.2013
It's EASILY scriptable. And, there's a thread for suggestions already.
Re: IsPlayerTabbed(playerid) -
69 - 26.05.2013
Quote:
Originally Posted by RealCop228
It's EASILY scriptable. And, there's a thread for suggestions already.
|
Then script one lol.
BTW I'm talking about one that would go with the new 0.3x tab system with the little pic above your head.
Re: IsPlayerTabbed(playerid) -
Scenario - 26.05.2013
pawn Код:
public OnPlayerUpdate(playerid)
{
pLastUpdate[playerid] = gettime();
return 1;
}
stock IsPlayerTabbed(playerid)
{
if(pLastUpdate[playerid] < gettime()) return true;
else return false;
}
Re: IsPlayerTabbed(playerid) -
69 - 26.05.2013
Quote:
Originally Posted by RealCop228
pawn Код:
public OnPlayerUpdate(playerid) { pLastUpdate[playerid] = gettime(); return 1; }
stock IsPlayerTabbed(playerid) { if(pLastUpdate[playerid] < gettime()) return true; else return false; }
|
Somewhat, something tells me this will be extremely buggy and nothing like the SAMP tabbing system... mhhhhhhhhhh...
Re: IsPlayerTabbed(playerid) -
Scenario - 26.05.2013
Nope, it shouldn't be buggy at all actually. This is the exact reason Kalcor didn't make a native function. It's already possible through 3 lines of code.
If you're the expert, do it yourself!