Last active
February 16, 2019 13:52
-
-
Save CodeAlDente/38282a6816440dfe8fa3 to your computer and use it in GitHub Desktop.
PPC Trucking: AdminLevel in external filterscripts; Updates admin level automatically if it has been changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// place this somewhere in ~/pawno/include/PPC_Speedometer.inc | |
// i recommend at line 340, right after the money and score check | |
if (GetPVarInt(playerid, "AdminLevel") != APlayerData[playerid][PlayerLevel]) | |
SetPVarInt(playerid, "AdminLevel", APlayerData[playerid][PlayerLevel]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment