24.01.2018, 08:43
Quote:
|
Here you are:
Код:
stock _SetPlayerVirtualWorld(playerid, world)
{
OnPlayerWorldChange(playerid, GetPlayerVirtualWorld(playerid), world);
}
#define SetPlayerVirtualWorld(%0,%1) _SetPlayerVirtualWorld(%0,%1)
|
PHP код:
stock S_SetPlayerVirtualWorld( playerid, world )
{
OnPlayerWorldChange( playerid, GetPlayerVirtualWorld(playerid), world );
return SetPlayerVirtualWorld( playerid, world );
}
#if defined _ALS_SetPlayerVirtualWorldOnVirtualWorldChange
#undef SetPlayerVirtualWorld
#else
#define _ALS_SetPlayerVirtualWorld
#endif
#define SetPlayerVirtualWorld S_SetPlayerVirtualWorld

