11.11.2011, 17:20
It's clear it's clientside, otherwise the feature would be in server.cfg and not samp.cfg on the client - SA-MP has always ran only on one core, the update enables support for multiple cores.
"Why to wait? release it" and that kind of comments are just pissing me off....public OnPlayerChangeGameStatus(playerid, status_type)
// Type's:
// 1 - PLAYER_MENU - player entered the game menu
// 2 - PLAYER_GAME - player returned to the game
public OnPlayerChangeGameStatus(playerid, status_type)
{
if(status_type == PLAYER_MENU)SendClientMessage(playerid, COLOR_RED, "You're AFK!");
if(status_type == PLAYER_GAME)SendClientMessage(playerid, COLOR_GREEN, "You're return to the Game!");
return true;
}
|
That can be scripted as you can use OnPlayerUpdate to detect when someone is out of the game.
OnPlayerUpdate won't be called when someone is out of the game. |
|
I really really hope that RC10 will include the native AttachPlayerObjectToVehicle (and then for streamers: AttachDynamicObjectToVehicle). Since many people want to have a lot of objects attached to their vehicle (like me xD) that even goes over the limit of 1000 objects (if many others will do it aswell).
|
|
- Fixed issue with motorbikes/pushbikes spawning above the ground. |