Little Help Needed with (/fps [id]) Command
#9

No!! i dont want anything else then how to get the target player fps?
im using following pFPS code.
Код:
public OnPlayerUpdate(playerid)
{
    new drunknew;
    drunknew = GetPlayerDrunkLevel(playerid);

    if (drunknew < 100) { // go back up, keep cycling.
    SetPlayerDrunkLevel(playerid, 2000);
    }else{
    if (pDrunkLevelLast[playerid] != drunknew)
	{
    new wfps = pDrunkLevelLast[playerid] - drunknew;

    if ((wfps > 0) && (wfps < 200))
    pFPS[playerid] = wfps;
    pDrunkLevelLast[playerid] = drunknew;
    }

    }
return 1;
Any one help? how can i use this to get TargetID Fps?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)