IsPlayerTabbed(playerid)
#1

Summing it up, would be great to have that function.
Nuff said.
Reply
#2

It's EASILY scriptable. And, there's a thread for suggestions already.
Reply
#3

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.
Reply
#4

pawn Код:
public OnPlayerUpdate(playerid)
{
    pLastUpdate[playerid] = gettime();
    return 1;
}

stock IsPlayerTabbed(playerid)
{
    if(pLastUpdate[playerid] < gettime()) return true;
    else return false;
}
Reply
#5

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...
Reply
#6

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)