| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…e trivial as the data already existed in the server: * `GetDefaultPlayerColour` - just a wrapper for a newly abstracted `PlayerPool::getDefaultColour` function. * `GetVehicleSeats` - wraps `getVehiclePassengerSeats`. * `VehicleCanHaveComponent` - wraps `isValidComponentForVehicleModel`. * `IsValidAnimationLibrary` - wraps `animationLibraryValid`, including an optional second parameter (default `true`). * `PlayerHasClockEnabled` - wraps `player.hasClock`. Although the server also missed `IsMenuValid` it has `IsValidMenu` instead, though that doesn't fix the syntax pattern on the other `IsMenuXXX` functions. I'll leave this fix to includes for now, we can maybe think about updating the server later.
|
Alex Cole seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Sorry, something went wrong.
| return true; | ||
| } | ||
|
|
||
| SCRIPT_API(PlayerHasClockEnabled, bool(IPlayer& player)) |
There was a problem hiding this comment.
i suggest that function name can be changed to IsPlayerClockEnabled
Sorry, something went wrong.
There was a problem hiding this comment.
The names are lifted straight from old includes.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Most of these were trivial as the data already existed in the server:
Although the server also missed IsMenuValid it has IsValidMenu instead, though that doesn't fix the syntax pattern on the other IsMenuXXX functions. I'll leave this fix to includes for now, we can maybe think about updating the server later.