Будит разница по написанию кода , нагрузка , или производительность мода
ИPHP код:
stock close_off_inv(playerid) // Скрываем инвентарь.
{
for(new i; i < sizeof(INVTD); i++)
{
PlayerTextDrawHide(playerid,TDInv[i][playerid]);
}
for(new i; i < sizeof(INVOBJ); i++)
{
PlayerTextDrawHide(playerid,ObjInv[i][playerid]);
}
CancelSelectTextDraw(playerid);
return true;
}
PHP код:
stock
close_off_inv(
playerid) // Скрываем инвентарь.
{
for ( new i ; i < sizeof( INVTD ) ; i++ )
{
PlayerTextDrawHide(
playerid , TDInv [ i ] [ playerid ] )
;
}
for ( new i ; i < sizeof ( INVOBJ ) ; i++ )
{
PlayerTextDrawHide(
playerid , ObjInv [ i ] [ playerid ] )
;
}
CancelSelectTextDraw(
playerid )
;
return true;
}