09.07.2014, 20:05
Quote:
R8 beta released:
- Added SetMaxPlayers, SetMaxNPCs - with them you can modify Max Players/NPCs value real-time - Added IsValidNickName, GetPlayerDialogID, GetPlayerSpectateID, GetPlayerSpectateType - Added forplayerid parameter to SendBulletData - now you can send bullet shot only for one player - Added ShowPlayerForPlayer, HidePlayerForPlayer - GetPlayerSpawnPos changed to GetSpawnInfo - Added protection against fake kill and fake pickup RPC-s, this now only works in windows - Added scoreboard manipulation functions - Thanks to P3ti (this too works only in windows yet) - Added RakPeer::Receive() hook, which currently works on windows. This brings some new features: -- IsPlayerPaused, GetPlayerPausedTime, -- And one new callbakc OnPlayerPauseStateChange(playerid, pausestate) https://github.com/kurta999/YSF/releases/tag/R8 Lot of things works only in windows, these will be fixed in final R8. |
Although I request you remove SetMaxPlayers... For shared hosting, on start up, they check the config, if doesn't match the purchased slots, it changes it.. But now, how are they suppose to check... It's a cheap way of getting extra slots without them knowing.
- Does ShowPlayerForPlayer make them disappear as if they're in a virtual world?
Nice manipulation on the scoreboard. Shame you can't change the name where it says 'ping' in the board.